Skip to content

Commit eca3fba

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 105438 b: refs/heads/master c: 1f4c630 h: refs/heads/master v: v3
1 parent db4926c commit eca3fba

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 891eab94a31739d6b0c330ebb7d4415529cfe1ee
2+
refs/heads/master: 1f4c63049ed2e323ba2961c19dc067f86dd61861
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
55
refs/heads/try: db814977d07bd798feb24f6b74c00800ef458a13

trunk/src/libstd/vec_ng.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ impl<T> Vec<T> {
427427
}
428428
}
429429

430-
fn remove(&mut self, index: uint) -> Option<T> {
430+
pub fn remove(&mut self, index: uint) -> Option<T> {
431431
let len = self.len();
432432
if index < len {
433433
unsafe { // infallible

trunk/src/test/compile-fail/asm-misplaced-option.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
// except according to those terms.
1010

1111
// ignore-fast #[feature] doesn't work with check-fast
12-
// ignore-android
13-
1412
#[feature(asm)];
1513

1614
#[allow(dead_code)];
@@ -35,6 +33,9 @@ pub fn main() {
3533
assert_eq!(x, 13);
3634
}
3735

36+
// #[cfg(not(target_arch = "x86"), not(target_arch = "x86_64"))]
37+
// pub fn main() {}
38+
3839
// At least one error is needed so that compilation fails
3940
#[static_assert]
4041
static b: bool = false; //~ ERROR static assertion failed

0 commit comments

Comments
 (0)