Remove vec::{filter, filtered, filter_map, filter_mapped}, replaced by iterators.
This commit is contained in:
parent
eee6775642
commit
de0d696561
20 changed files with 131 additions and 418 deletions
|
|
@ -30,7 +30,7 @@ use std::io::WriterUtil;
|
|||
|
||||
// Make sure this import is warned about when at least one of its imported names
|
||||
// is unused
|
||||
use std::vec::{filter, from_elem}; //~ ERROR unused import
|
||||
use std::vec::{from_fn, from_elem}; //~ ERROR unused import
|
||||
|
||||
mod foo {
|
||||
pub struct Point{x: int, y: int}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue