Skip to content

Commit a9ceb51

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 150056 b: refs/heads/try2 c: 1f4c630 h: refs/heads/master v: v3
1 parent fc1b643 commit a9ceb51

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 891eab94a31739d6b0c330ebb7d4415529cfe1ee
8+
refs/heads/try2: 1f4c63049ed2e323ba2961c19dc067f86dd61861
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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

branches/try2/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)