From 3afc16f7a4ce66910107843b8f5cfbea3ad28a09 Mon Sep 17 00:00:00 2001 From: Kevin Cantu Date: Wed, 25 Jan 2012 23:20:10 -0800 Subject: [PATCH] Change FIXME comments in str --- src/libcore/str.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/str.rs b/src/libcore/str.rs index b8d9a1dea11a..dad10eced7f2 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]) }