diff options
| author | Florian Hahn <flo@fhahn.com> | 2013-09-05 14:17:24 +0200 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2013-09-05 14:17:24 +0200 |
| commit | de39874801761197bf10bf8d04bde1aa2bd82e15 (patch) | |
| tree | 6afb87492fa6c69778066aa748b26ecae1fb5262 /src/libstd/sys.rs | |
| parent | 422dcbd56d1a1888f1491d8fb14bb87a54fadbc7 (diff) | |
| download | rust-de39874801761197bf10bf8d04bde1aa2bd82e15.tar.gz rust-de39874801761197bf10bf8d04bde1aa2bd82e15.zip | |
Rename str::from_bytes to str::from_utf8, closes #8985
Diffstat (limited to 'src/libstd/sys.rs')
| -rw-r--r-- | src/libstd/sys.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys.rs b/src/libstd/sys.rs index cfc285488a9..c3a5afc1ec8 100644 --- a/src/libstd/sys.rs +++ b/src/libstd/sys.rs @@ -99,7 +99,7 @@ pub fn log_str<T>(t: &T) -> ~str { let mut result = io::mem::MemWriter::new(); repr::write_repr(&mut result as &mut io::Writer, t); - str::from_bytes_owned(result.inner()) + str::from_utf8_owned(result.inner()) } #[cfg(stage0)] pub fn log_str<T>(t: &T) -> ~str { |
