Skip to content

Commit bfd9bd9

Browse files
committed
chore: remove #[must_use] attribute
Rust nightly reports: warning: `#[must_use]` has no effect when applied to a provided trait method Hence I'm remove that attribute.
1 parent e1ff25e commit bfd9bd9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/gt.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ impl Group for Gt {
300300
self.0.ct_eq(&Self::identity().0)
301301
}
302302

303-
#[must_use]
304303
fn double(&self) -> Self {
305304
Gt(self.0.square())
306305
}

0 commit comments

Comments
 (0)