Skip to content

Commit 4fe208b

Browse files
authored
Trailing white space and feature name
Removed trailing whitespace to pass travis builds, renamed feature to vec_remove_item.
1 parent 5b16687 commit 4fe208b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcollections/vec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,8 +1296,8 @@ impl<T: PartialEq> Vec<T> {
12961296
pub fn dedup(&mut self) {
12971297
self.dedup_by(|a, b| a == b)
12981298
}
1299-
1300-
#[unstable(feature = "remove_from", reason = "recently added", issue = "38143")]
1299+
1300+
#[unstable(feature = "vec_remove_item", reason = "recently added", issue = "38143")]
13011301
pub fn remove_item(&mut self, item: &T) -> Option<usize> {
13021302
let pos = match self.iter().position(|x| *x == *item) {
13031303
Some(x) => x,

0 commit comments

Comments
 (0)