refactor: change &mut self to &self

This commit is contained in:
Magamedrasul Ibragimov 2022-11-02 14:45:10 +03:00
parent 0cb7d88251
commit 252fa319eb
1 changed files with 1 additions and 1 deletions

View File

@ -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)),