Skip to content

Commit 3afc16f

Browse files
committed
Change FIXME comments in str
1 parent 4d7c297 commit 3afc16f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Function: unsafe_from_bytes
131131
Converts a vector of bytes to a string. Does not verify that the
132132
vector contains valid UTF-8.
133133
134-
FIXME: don't export?
134+
FIXME: stop exporting
135135
*/
136136
fn unsafe_from_bytes(v: [const u8]) -> str unsafe {
137137
let vcopy: [u8] = v + [0u8];
@@ -146,7 +146,7 @@ Function: unsafe_from_byte
146146
Converts a byte to a string. Does not verify that the byte is
147147
valid UTF-8.
148148
149-
FIXME: REMOVE.
149+
FIXME: stop exporting
150150
*/
151151
fn unsafe_from_byte(u: u8) -> str { unsafe_from_bytes([u]) }
152152

0 commit comments

Comments
 (0)