pub fn apply_renames(renames: &RenameList, ident: Ident) -> Ident {
    renames.iter().fold(ident, |ident, &(from, to)| {
        apply_rename(from, to, ident)
    })
}
/// Apply a list of renamings to a context
// if these rename lists get long, it would make sense
// to consider memoizing this fold. This may come up
// when we add hygiene to item names.
Apply a list of renamings to a context
if these rename lists get long, it would make sense
to consider memoizing this fold. This may come up
when we add hygiene to item names.
Apply a list of renamings to a context if these rename lists get long it would make sense to consider memoizing this fold . This may come up when we add hygiene to item names .
pub fn apply_renames(renames: &RenameList, ident: Ident) -> Ident {
    renames.iter().fold(ident, |ident, &(from, to)| {
        apply_rename(from, to, ident)
    })
}
pub fn apply_renames ( renames : & RenameList , ident : Ident ) -> Ident { renames . iter ( ) . fold ( ident , | ident , & ( from , to ) | { apply_rename ( from , to , ident ) } ) }
Apply a list of renamings to a context
if these rename lists get long, it would make sense
to consider memoizing this fold.
Apply a list of renamings to a context if these rename lists get long it would make sense to consider memoizing this fold .
renames
&RenameList
ident
Ident
renames
&RenameList
ident
Ident