Skip to content

Commit 67adea8

Browse files
committed
document mutability
1 parent dd8820f commit 67adea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ impl str {
766766
}
767767
}
768768

769-
/// Divides one string slice into two at an index.
769+
/// Divides one string slice into two mutable slices at an index.
770770
///
771771
/// # Safety
772772
///

0 commit comments

Comments
 (0)