Skip to content

Commit e8d858e

Browse files
committed
rename Allocation::retag -> with_tags_and_extra
1 parent 5670d04 commit e8d858e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/mir/interpret/allocation.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ impl<Tag> Allocation<Tag> {
130130
}
131131
}
132132

133-
impl Allocation<()> {
133+
impl Allocation<(), ()> {
134134
/// Add Tag and Extra fields
135-
pub fn retag<T, E>(
135+
pub fn with_tags_and_extra<T, E>(
136136
self,
137137
mut tagger: impl FnMut(AllocId) -> T,
138138
extra: E,

0 commit comments

Comments
 (0)