From 1f4c63049ed2e323ba2961c19dc067f86dd61861 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 18 Mar 2014 11:53:32 -0500 Subject: [PATCH] Make method Vec::remove() public --- src/libstd/vec_ng.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/vec_ng.rs b/src/libstd/vec_ng.rs index d36617e1924..c51ab48207f 100644 --- a/src/libstd/vec_ng.rs +++ b/src/libstd/vec_ng.rs @@ -427,7 +427,7 @@ impl Vec { } } - fn remove(&mut self, index: uint) -> Option { + pub fn remove(&mut self, index: uint) -> Option { let len = self.len(); if index < len { unsafe { // infallible