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 4d7c297 commit 3afc16fCopy full SHA for 3afc16f
src/libcore/str.rs
@@ -131,7 +131,7 @@ Function: unsafe_from_bytes
131
Converts a vector of bytes to a string. Does not verify that the
132
vector contains valid UTF-8.
133
134
-FIXME: don't export?
+FIXME: stop exporting
135
*/
136
fn unsafe_from_bytes(v: [const u8]) -> str unsafe {
137
let vcopy: [u8] = v + [0u8];
@@ -146,7 +146,7 @@ Function: unsafe_from_byte
146
Converts a byte to a string. Does not verify that the byte is
147
valid UTF-8.
148
149
-FIXME: REMOVE.
150
151
fn unsafe_from_byte(u: u8) -> str { unsafe_from_bytes([u]) }
152
0 commit comments