mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-03-31 11:39:19 +00:00
Add documentation links for strings3
Added helpful links for String and str documentation.
This commit is contained in:
parent
37cbcd9049
commit
b029a3d5e4
@ -1,3 +1,7 @@
|
|||||||
|
// Helpful documentation:
|
||||||
|
// https://doc.rust-lang.org/book/ch08-02-strings.html
|
||||||
|
// https://doc.rust-lang.org/std/string/struct.String.html
|
||||||
|
// https://doc.rust-lang.org/std/primitive.str.html
|
||||||
fn trim_me(input: &str) -> &str {
|
fn trim_me(input: &str) -> &str {
|
||||||
// TODO: Remove whitespace from both ends of a string.
|
// TODO: Remove whitespace from both ends of a string.
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user