From c10960351da804b5b31f011250254c37922d3156 Mon Sep 17 00:00:00 2001 From: str4d Date: Sat, 25 Dec 2021 12:20:18 +0000 Subject: [PATCH] Fix typo in code comment Co-authored-by: Daira Hopwood --- src/arithmetic/fields.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arithmetic/fields.rs b/src/arithmetic/fields.rs index ab3a1c2..3f47a89 100644 --- a/src/arithmetic/fields.rs +++ b/src/arithmetic/fields.rs @@ -65,7 +65,7 @@ pub trait SqrtRatio: ff::PrimeField { // { G_S*num/div otherwise // // Since G_S is non-square, a and b are either both zero (and both square), or - // only one them is square. We can therefore choose the square root to return + // only one of them is square. We can therefore choose the square root to return // based on whether a is square, but for the boolean output we need to handle the // num != 0 && div == 0 case specifically.