about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorKevin Cantu <me@kevincantu.org>2012-01-25 23:20:10 -0800
committerKevin Cantu <me@kevincantu.org>2012-01-25 23:20:10 -0800
commit3afc16f7a4ce66910107843b8f5cfbea3ad28a09 (patch)
tree033ca5b58a2f9b250e96fa3d3eea22e120bb2882 /src/libcore
parent4d7c297beaa4326d8c7dda029aeec264616cfca6 (diff)
Change FIXME comments in str
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/str.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index b8d9a1dea11..dad10eced7f 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -131,7 +131,7 @@ Function: unsafe_from_bytes
 Converts a vector of bytes to a string. Does not verify that the
 vector contains valid UTF-8.
 
-FIXME: don't export?
+FIXME: stop exporting
 */
 fn unsafe_from_bytes(v: [const u8]) -> str unsafe {
     let vcopy: [u8] = v + [0u8];
@@ -146,7 +146,7 @@ Function: unsafe_from_byte
 Converts a byte to a string. Does not verify that the byte is
 valid UTF-8.
 
-FIXME: REMOVE.
+FIXME: stop exporting
 */
 fn unsafe_from_byte(u: u8) -> str { unsafe_from_bytes([u]) }