Skip to content
Permalink
Browse files

rename Allocation::retag -> with_tags_and_extra

  • Loading branch information...
RalfJung committed Sep 16, 2019
1 parent 5670d04 commit e8d858ef3c52dcbdc7091e5cd19ecca0c36a0428
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/librustc/mir/interpret/allocation.rs
@@ -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,

0 comments on commit e8d858e

Please sign in to comment.
You can’t perform that action at this time.