about summary refs log tree commit diff
path: root/src/libcore/int-template.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/int-template.rs')
-rw-r--r--src/libcore/int-template.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/int-template.rs b/src/libcore/int-template.rs
index 7f3d385dca0..5721ab750b4 100644
--- a/src/libcore/int-template.rs
+++ b/src/libcore/int-template.rs
@@ -66,7 +66,7 @@ Parse a buffer of bytes
 * buf - A byte buffer
 * radix - The base of the number
 "]
-fn parse_buf(buf: [u8], radix: uint) -> option<T> {
+fn parse_buf(buf: [u8]/~, radix: uint) -> option<T> {
     if vec::len(buf) == 0u { ret none; }
     let mut i = vec::len(buf) - 1u;
     let mut start = 0u;