mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-08 10:43:31 +02:00
Clean up and unify exercises
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
// as_ref_mut.rs
|
||||
//
|
||||
// AsRef and AsMut allow for cheap reference-to-reference conversions. Read more
|
||||
// about them at https://doc.rust-lang.org/std/convert/trait.AsRef.html and
|
||||
// https://doc.rust-lang.org/std/convert/trait.AsMut.html, respectively.
|
||||
//
|
||||
// Execute `rustlings hint as_ref_mut` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
// Obtain the number of bytes (not characters) in the given argument.
|
||||
// TODO: Add the AsRef trait appropriately as a trait bound.
|
||||
|
||||
Reference in New Issue
Block a user