Take self directly in into_* functions

This commit is contained in:
Jack Grigg
2019-08-02 12:03:38 +01:00
parent fe93f2ff6b
commit 9016548698
3 changed files with 8 additions and 6 deletions

View File

@@ -508,7 +508,7 @@ impl<E: JubjubEngine> MontgomeryPoint<E> {
/// a point in the birationally equivalent twisted
/// Edwards curve.
pub fn into_edwards<CS>(
&self,
self,
mut cs: CS,
params: &E::Params,
) -> Result<EdwardsPoint<E>, SynthesisError>