Rename into_ -> to_ where &self is used.

This commit is contained in:
Jack Grigg
2019-08-02 12:00:15 +01:00
parent 91541675e2
commit fe93f2ff6b
17 changed files with 70 additions and 70 deletions

View File

@@ -42,7 +42,7 @@ pub fn merkle_hash(depth: usize, lhs: &FrRepr, rhs: &FrRepr) -> FrRepr {
.chain(rhs.iter().copied().take(Fr::NUM_BITS as usize)),
&JUBJUB,
)
.into_xy()
.to_xy()
.0
.into_repr()
}