Skip to content

Commit 6039399

Browse files
authored
remove bottom comment instead of top
1 parent dab90f7 commit 6039399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/conversions/as_ref_mut.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
// Read more about them at https://doc.rust-lang.org/std/convert/trait.AsRef.html
33
// and https://doc.rust-lang.org/std/convert/trait.AsMut.html, respectively.
44

5+
// I AM NOT DONE
56
// Obtain the number of bytes (not characters) in the given argument
67
// Add the AsRef trait appropriately as a trait bound
78
fn byte_counter<T>(arg: T) -> usize {
89
arg.as_ref().as_bytes().len()
910
}
1011

11-
// I AM NOT DONE
1212
// Obtain the number of characters (not bytes) in the given argument
1313
// Add the AsRef trait appropriately as a trait bound
1414
fn char_counter<T>(arg: T) -> usize {

0 commit comments

Comments
 (0)