Skip to content

Commit

Permalink
fix: satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlcibiades committed Jul 13, 2024
1 parent 4ef662b commit 1badb1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ pub trait Polynomial: Clone + PartialEq + ClosedAdd + ClosedMul + Euclid {
/// 2. (a + b)x = ax + bx
/// 3. (ab)x = a(bx)
/// 4. 1x = x
/// where a, b ∈ R and x, y ∈ M
/// where a, b ∈ R and x, y ∈ M
pub trait Module: MultiplicativeAbelianGroup {
type Scalar: Ring;

Expand All @@ -910,7 +910,7 @@ pub trait Module: MultiplicativeAbelianGroup {
/// 2. (a + b)v = av + bv
/// 3. (ab)v = a(bv)
/// 4. 1v = v
/// where a, b ∈ F and u, v ∈ V
/// where a, b ∈ F and u, v ∈ V
pub trait VectorSpace: AdditiveAbelianGroup {
type Scalar: Field;

Expand Down

0 comments on commit 1badb1d

Please sign in to comment.