Skip to content

Commit

Permalink
Fix missing &self.0. 0 -> 0.as_inner()
Browse files Browse the repository at this point in the history
Signed-off-by: Arvind Mukund <[email protected]>
  • Loading branch information
MasterAwesome committed Dec 17, 2023
1 parent 39d3f87 commit d44ff05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p521/src/arithmetic/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ impl ConditionallySelectable for Scalar {

impl ConstantTimeEq for Scalar {
fn ct_eq(&self, other: &Self) -> Choice {
self.0 .0.ct_eq(&other.0 .0)
self.0.as_inner().ct_eq(other.0.as_inner())
}
}

Expand Down

0 comments on commit d44ff05

Please sign in to comment.