We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 433180e + 9ac73cb commit c03f61bCopy full SHA for c03f61b
library/core/src/str/mod.rs
@@ -2192,8 +2192,8 @@ impl str {
2192
2193
/// Returns a string slice with the prefix removed.
2194
///
2195
- /// If the string starts with the pattern `prefix`, returns substring after the prefix, wrapped
2196
- /// in `Some`. Unlike `trim_start_matches`, this method removes the prefix exactly once.
+ /// If the string starts with the pattern `prefix`, returns the substring after the prefix,
+ /// wrapped in `Some`. Unlike `trim_start_matches`, this method removes the prefix exactly once.
2197
2198
/// If the string does not start with `prefix`, returns `None`.
2199
0 commit comments