rename Allocation::retag -> with_tags_and_extra
This commit is contained in:
parent
5670d048c0
commit
e8d858ef3c
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue