]> git.lizzy.rs Git - rust.git/commitdiff
Merge pull request #7595 from thestinger/iterator
authorDaniel Micay <danielmicay@gmail.com>
Mon, 8 Jul 2013 08:42:07 +0000 (01:42 -0700)
committerDaniel Micay <danielmicay@gmail.com>
Mon, 8 Jul 2013 08:42:07 +0000 (01:42 -0700)
remove some method resolve workarounds

1  2 
src/libstd/str.rs
src/test/run-pass/test-ignore-cfg.rs

Simple merge
index e54bc7404b4403547edb57360fd59a060f041700,068f18ac0f83aa1c7f053b3667fbc99d4884483c..6e6670e4c38e9c8fc41843615474def34810d885
@@@ -26,11 -26,11 +26,11 @@@ fn shouldnotignore() 
  #[test]
  fn checktests() {
      // Pull the tests out of the secreturn test module
 -    let tests = __test::tests;
 +    let tests = __test::TESTS;
  
      assert!(
-         tests.iter().any_(|t| t.desc.name.to_str() == ~"shouldignore" && t.desc.ignore));
+         tests.iter().any(|t| t.desc.name.to_str() == ~"shouldignore" && t.desc.ignore));
  
      assert!(
-         tests.iter().any_(|t| t.desc.name.to_str() == ~"shouldnotignore" && !t.desc.ignore));
+         tests.iter().any(|t| t.desc.name.to_str() == ~"shouldnotignore" && !t.desc.ignore));
  }