Skip to content

Commit

Permalink
rename Allocation::retag -> with_tags_and_extra
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 17, 2019
1 parent 5670d04 commit e8d858e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/mir/interpret/allocation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ impl<Tag> Allocation<Tag> {
}
}

impl Allocation<()> {
impl Allocation<(), ()> {
/// Add Tag and Extra fields
pub fn retag<T, E>(
pub fn with_tags_and_extra<T, E>(
self,
mut tagger: impl FnMut(AllocId) -> T,
extra: E,
Expand Down

0 comments on commit e8d858e

Please sign in to comment.