diff options
| author | Graydon Hoare <[email protected]> | 2010-08-20 11:40:59 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-08-20 11:42:44 -0700 |
| commit | 9fc4fc6692c6684487eb57c6608ee34ab94dd9f5 (patch) | |
| tree | cddbecd3d439f36d27c4549700d25ab3c23f1f52 /src/lib/_io.rs | |
| parent | Modify session to report errors in an emacs-parser-friendlier way. (diff) | |
| download | rust-9fc4fc6692c6684487eb57c6608ee34ab94dd9f5.tar.xz rust-9fc4fc6692c6684487eb57c6608ee34ab94dd9f5.zip | |
Add _uint module to std, move some code around.
Diffstat (limited to 'src/lib/_io.rs')
| -rw-r--r-- | src/lib/_io.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/_io.rs b/src/lib/_io.rs index 5583815f..46ba21cf 100644 --- a/src/lib/_io.rs +++ b/src/lib/_io.rs @@ -146,7 +146,7 @@ fn file_writer(str path, unsafe obj fw(buf_writer out) { fn write_str(str s) { out.write(_str.bytes(s)); } fn write_int(int n) { out.write(_str.bytes(_int.to_str(n, 10u))); } - fn write_uint(uint n) { out.write(_str.bytes(_int.uto_str(n, 10u))); } + fn write_uint(uint n) { out.write(_str.bytes(_uint.to_str(n, 10u))); } } ret fw(new_buf_writer(path, flags)); } |