diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-21 09:15:15 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-21 09:15:15 -0800 |
| commit | 1646707c6e86166b28be77623f260333015e790c (patch) | |
| tree | 37c2181506f878dfd930c270279fa6563d82175c /src/libstd/sys | |
| parent | 4b6a0563c6d7bf90d5a70120d1818d57f49cb62a (diff) | |
| parent | 49684850bedcef007a2949c97872606d1d6dc325 (diff) | |
| download | rust-1646707c6e86166b28be77623f260333015e790c.tar.gz rust-1646707c6e86166b28be77623f260333015e790c.zip | |
rollup merge of #21396: japaric/no-parens-in-range
Conflicts: src/libsyntax/parse/lexer/comments.rs
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/windows/backtrace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/backtrace.rs b/src/libstd/sys/windows/backtrace.rs index ee2dd14955b..03a23214cf3 100644 --- a/src/libstd/sys/windows/backtrace.rs +++ b/src/libstd/sys/windows/backtrace.rs @@ -362,7 +362,7 @@ pub fn write(w: &mut Writer) -> IoResult<()> { let bytes = unsafe { ffi::c_str_to_bytes(&ptr) }; match str::from_utf8(bytes) { Ok(s) => try!(demangle(w, s)), - Err(..) => try!(w.write(&bytes[..(bytes.len()-1)])), + Err(..) => try!(w.write(&bytes[..bytes.len()-1])), } } try!(w.write(&['\n' as u8])); |
