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 93a2906 commit 3a43da6Copy full SHA for 3a43da6
src/segtree.rs
@@ -9,8 +9,8 @@ pub trait Monoid {
9
fn identity() -> Self::S;
10
fn binary_operation(a: Self::S, b: Self::S) -> Self::S;
11
}
12
-pub struct Max<S>(PhantomData<fn() -> S>);
13
+pub struct Max<S>(PhantomData<fn() -> S>);
14
// TODO We should not restrict to integral
15
impl<S> Monoid for Max<S>
16
where
0 commit comments