1
Fork 0

rename Allocation::retag -> with_tags_and_extra

This commit is contained in:
Ralf Jung 2019-09-16 11:34:27 +02:00
parent 5670d048c0
commit e8d858ef3c

View file

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