1
Fork 0

Rename MapInPlace as FlatMapInPlace.

After removing the `map_in_place` method, which isn't much use because
modifying every element in a collection such as a `Vec` can be done
trivially with iteration.
This commit is contained in:
Nicholas Nethercote 2023-03-08 15:53:56 +11:00
parent f63ccaf25f
commit be60bcb28a
5 changed files with 8 additions and 15 deletions

View file

@ -12,7 +12,7 @@ use crate::ptr::P;
use crate::token::{self, Token};
use crate::tokenstream::*;
use rustc_data_structures::map_in_place::MapInPlace;
use rustc_data_structures::flat_map_in_place::FlatMapInPlace;
use rustc_data_structures::sync::Lrc;
use rustc_span::source_map::Spanned;
use rustc_span::symbol::Ident;