diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-09-20 15:59:09 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-09-25 12:47:35 -0700 |
| commit | 267ab11cca722c1c83dcb6df949961390af787c1 (patch) | |
| tree | 120bac2adfa7908a2ea90feea00481b29fd69234 /src/libcore/uint-template.rs | |
| parent | 37aee97e4b22c58ed2c7898d666c62fb27646851 (diff) | |
use + mode for (almost) everything when not using legacy modes
Diffstat (limited to 'src/libcore/uint-template.rs')
| -rw-r--r-- | src/libcore/uint-template.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/uint-template.rs b/src/libcore/uint-template.rs index 8b3a60f4fe3..dba28ec06e6 100644 --- a/src/libcore/uint-template.rs +++ b/src/libcore/uint-template.rs @@ -240,7 +240,7 @@ pure fn to_str_bytes<U>(neg: bool, num: T, radix: uint, } vec::raw::form_slice(ptr::offset(p, i), - len - i, f) + len - i, f) } } } |
