1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-06 23:26:10 +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
commit 052f0aa7d4
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

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 {