mirror of
https://github.com/vacp2p/pmtree.git
synced 2026-01-10 07:47:53 -05:00
refactor: change &mut self to &self
This commit is contained in:
@@ -142,7 +142,7 @@ where
|
||||
}
|
||||
|
||||
// Hashes the right couple for the key
|
||||
fn hash_couple(&mut self, depth: usize, key: usize) -> H::Fr {
|
||||
fn hash_couple(&self, depth: usize, key: usize) -> H::Fr {
|
||||
let b = key & !1;
|
||||
H::hash(&[
|
||||
self.get_elem(Key(depth, b)),
|
||||
|
||||
Reference in New Issue
Block a user