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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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