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.
2 parents e69cead + b8588fb commit c8caa64Copy full SHA for c8caa64
src/lib.rs
@@ -16,7 +16,7 @@
16
/// implementation of [`Drop`](http://doc.rust-lang.org/std/ops/trait.Drop.html)
17
/// and [`Clone`](http://doc.rust-lang.org/std/clone/trait.Clone.html),
18
/// respectively.
19
-pub trait Comonoid {
+pub trait Comonoid: Sized {
20
/// The dual to the monoidal unit.
21
fn counit(self) -> ();
22
/// The dual to the monoidal multiplication.
0 commit comments