diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-27 17:02:31 -0700 | 
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-30 23:21:18 -0700 | 
| commit | a8ba31dbf3e7d80a069bc486a35eff8357282b68 (patch) | |
| tree | 8a00829d527c443d16988b98cd7c97f1d3d4dac6 /src/libstd/sys.rs | |
| parent | aaf6cc3a841095a95a9c74a6a2a3709dffd7a4e9 (diff) | |
| download | rust-a8ba31dbf3e7d80a069bc486a35eff8357282b68.tar.gz rust-a8ba31dbf3e7d80a069bc486a35eff8357282b68.zip | |
std: Remove usage of fmt!
Diffstat (limited to 'src/libstd/sys.rs')
| -rw-r--r-- | src/libstd/sys.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/libstd/sys.rs b/src/libstd/sys.rs index 66ec0ae3417..25425e07577 100644 --- a/src/libstd/sys.rs +++ b/src/libstd/sys.rs @@ -134,7 +134,7 @@ pub fn begin_unwind_(msg: *c_char, file: *c_char, line: size_t) -> ! { use str::Str; unsafe { - // XXX: Bad re-allocations. fail! needs some refactoring + // XXX: Bad re-allocations. fail2! needs some refactoring let msg = str::raw::from_c_str(msg); let file = str::raw::from_c_str(file); @@ -148,7 +148,7 @@ pub fn begin_unwind_(msg: *c_char, file: *c_char, line: size_t) -> ! { n, msg.as_slice(), file.as_slice(), line); } } else { - rterrln!("failed in non-task context at '%s', %s:%i", + rterrln!("failed in non-task context at '{}', {}:{}", msg, file, line as int); } | 
