Add documentation links for strings3

Added helpful links for String and str documentation.
This commit is contained in:
Krishna Kumar 2026-03-29 10:21:46 +05:30 committed by GitHub
parent 37cbcd9049
commit b029a3d5e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.
} }