1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-13 01:20:42 +02:00

Merge pull request #292 from Tuxified/patch-1

Remove duplicate not done comment
This commit is contained in:
fmoko
2020-04-08 11:23:49 +02:00
committed by GitHub

View File

@ -9,7 +9,6 @@ fn byte_counter<T>(arg: T) -> usize {
arg.as_ref().as_bytes().len()
}
// I AM NOT DONE
// Obtain the number of characters (not bytes) in the given argument
// Add the AsRef trait appropriately as a trait bound
fn char_counter<T>(arg: T) -> usize {