std: remove foldr and alli methods in vec
This commit is contained in:
parent
ed299af625
commit
513d2292e5
14 changed files with 26 additions and 37 deletions
|
|
@ -14,7 +14,7 @@ fn main() {
|
|||
let needlesArr: ~[char] = ~['a', 'f'];
|
||||
do needlesArr.iter().fold() |x, y| {
|
||||
}
|
||||
//~^ ERROR 1 parameter were supplied (including the closure passed by the `do` keyword)
|
||||
//~^ ERROR 1 parameter was supplied (including the closure passed by the `do` keyword)
|
||||
//
|
||||
// the first error is, um, non-ideal.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue