We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a44c7 commit 956c581Copy full SHA for 956c581
src/libcore/str.rs
@@ -76,7 +76,7 @@ impl FromStr for bool {
76
Section: Creating a string
77
*/
78
79
-/// Converts a vector to a string slice without performing any allocations.
+/// Converts a slice of bytes to a string slice without performing any allocations.
80
///
81
/// Once the slice has been validated as utf-8, it is transmuted in-place and
82
/// returned as a '&str' instead of a '&[u8]'
0 commit comments