We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5650b88 commit 32dbc68Copy full SHA for 32dbc68
src/segtree.rs
@@ -43,7 +43,7 @@ where
43
pub struct Sum<S>(Infallible, PhantomData<fn() -> S>);
44
impl<S> Monoid for Sum<S>
45
where
46
- S: Copy + Add<Output=S> + Zero,
+ S: Copy + Add<Output = S> + Zero,
47
{
48
type S = S;
49
fn identity() -> Self::S {
@@ -57,7 +57,7 @@ where
57
pub struct Product<S>(Infallible, PhantomData<fn() -> S>);
58
impl<S> Monoid for Product<S>
59
60
- S: Copy + Mul<Output=S> + One,
+ S: Copy + Mul<Output = S> + One,
61
62
63
0 commit comments