mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +00:00
simplify argument name
This commit is contained in:
parent
bfae0d4979
commit
455b86165b
@ -13,8 +13,8 @@ impl<T, U> ReferenceCounter<T, U> {
|
|||||||
Self(HashMap::new())
|
Self(HashMap::new())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn count_reference(&mut self, to: Handle<T>, reference: Handle<U>) {
|
pub fn count_reference(&mut self, to: Handle<T>, from: Handle<U>) {
|
||||||
self.0.entry(to).or_default().push(reference);
|
self.0.entry(to).or_default().push(from);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn find_multiples(&self) -> Vec<MultipleReferences<T, U>> {
|
pub fn find_multiples(&self) -> Vec<MultipleReferences<T, U>> {
|
||||||
|
Loading…
Reference in New Issue
Block a user