Skip to content

Commit

Permalink
Rename max_set mod to maxset
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorenesduarte committed Mar 15, 2019
1 parent 58b808b commit e69c217
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mod traits;
mod arbitrary;

// This module contains the implementation of a Max Set.
pub mod max_set;
pub mod maxset;

// This module contains the implementation of a Clock.
pub mod clock;
Expand All @@ -19,7 +19,7 @@ pub mod tclock;

// Top-level re-exports.
pub use crate::clock::{Clock, Dot, VClock};
pub use crate::max_set::MaxSet;
pub use crate::maxset::MaxSet;
pub use crate::multiset::MultiSet;
pub use crate::tclock::TClock;
pub use crate::traits::{Actor, Count, EventSet};
6 changes: 3 additions & 3 deletions src/max_set.rs → src/maxset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ impl IntoIterator for MaxSet {
/// ```
/// use threshold::*;
///
/// let mut max_set = MaxSet::new();
/// max_set.add_event(3);
/// let mut maxset = MaxSet::new();
/// maxset.add_event(3);
///
/// let mut iter = max_set.into_iter();
/// let mut iter = maxset.into_iter();
/// assert_eq!(iter.next(), Some(1));
/// assert_eq!(iter.next(), Some(2));
/// assert_eq!(iter.next(), Some(3));
Expand Down

0 comments on commit e69c217

Please sign in to comment.