Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions alga/src/general/one_operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub trait AbstractQuasigroup<O: Operator>:
/// Implements the quasigroup trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractQuasigroup, Additive, TwoSidedInverse};
Expand Down Expand Up @@ -146,7 +146,7 @@ pub trait AbstractSemigroup<O: Operator>: PartialEq + AbstractMagma<O> {
/// Implements the semigroup trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractSemigroup, Additive};
Expand Down Expand Up @@ -191,7 +191,7 @@ pub trait AbstractLoop<O: Operator>: AbstractQuasigroup<O> + Identity<O> {}
/// Implements the loop trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractLoop, Additive, TwoSidedInverse, Identity};
Expand Down Expand Up @@ -262,7 +262,7 @@ pub trait AbstractMonoid<O: Operator>: AbstractSemigroup<O> + Identity<O> {
/// Implements the monoid trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractMonoid, Additive, Identity};
Expand Down Expand Up @@ -299,7 +299,7 @@ pub trait AbstractGroup<O: Operator>: AbstractLoop<O> + AbstractMonoid<O> {}
/// Implements the group trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractGroup, Additive, TwoSidedInverse, Identity};
Expand Down Expand Up @@ -369,7 +369,7 @@ pub trait AbstractGroupAbelian<O: Operator>: AbstractGroup<O> {
/// Implements the Abelian group trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractGroupAbelian, Additive, TwoSidedInverse, Identity};
Expand Down
6 changes: 3 additions & 3 deletions alga/src/general/two_operators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub trait AbstractRing<A: Operator = Additive, M: Operator = Multiplicative>:
/// Implements the ring trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractRing, Additive, Multiplicative, TwoSidedInverse, Identity};
Expand Down Expand Up @@ -158,7 +158,7 @@ pub trait AbstractRingCommutative<A: Operator = Additive, M: Operator = Multipli
/// Implements the commutative ring trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractRingCommutative, Additive, Multiplicative, TwoSidedInverse, Identity};
Expand Down Expand Up @@ -218,7 +218,7 @@ pub trait AbstractField<A: Operator = Additive, M: Operator = Multiplicative>:
/// Implements the field trait for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use alga::general::{AbstractMagma, AbstractField, Additive, Multiplicative, TwoSidedInverse, Identity};
Expand Down
4 changes: 2 additions & 2 deletions alga/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
/// Implements empty traits aka marker traits for types provided.
/// # Examples
///
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # fn main() {}
/// trait Marker {}
/// struct Struct;
/// impl_marker!(Marker; u32; Struct);
/// ```
/// ```
/// ```ignore
/// # #[macro_use]
/// # extern crate alga;
/// # use std::fmt::Debug;
Expand Down