summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/vec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs
index 50c16a217b1..2a7c583b61d 100644
--- a/src/libcore/vec.rs
+++ b/src/libcore/vec.rs
@@ -14,7 +14,7 @@ export to_mut;
 export from_mut;
 export head;
 export tail;
-export tail_n;
+export tailn;
 export init;
 export last;
 export last_opt;
@@ -180,7 +180,7 @@ fn tail<T: copy>(v: [const T]) -> [T] {
 }
 
 #[doc = "Returns all but the first `n` elements of a vector"]
-fn tail_n<T: copy>(v: [const T], n: uint) -> [T] {
+fn tailn<T: copy>(v: [const T], n: uint) -> [T] {
     slice(v, n, len(v))
 }