Skip to content

Commit

Permalink
0.0.4
Browse files Browse the repository at this point in the history
Over 50 fixups including:
* many documentation spelling error corrections,
* many formatting consistency corrections,
* moving to semi-qualified replacements for some custom types
* moving to semi-qualified calls for ops:: types
* replacing copy with cloned wherever possible
* reduced unnecessary constraints on specific methods
* improved documentation to explicitly not runtime expections where they may be surprising
* added an iter_with_mutliplicity method for getting (element, count) pairs
* take method returns both element and multiplicity
* explicitly documented an invalid runtime value of `get` that is not machine-enforced
* now consistently using `multiplicity` instead of occasionally using generic letters in some signatures
* modified the test suite to be compatible with future versions of rust
* set minimum tested version to current rust stable:1.47
  • Loading branch information
lonnen committed Oct 30, 2020
1 parent 9217d58 commit 332fbd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mset"
version = "0.0.3" # remember to update html_root_url crate attribute
version = "0.0.4" # remember to update html_root_url crate attribute
description = "A mset / multiset / bag implementation"
keywords = ["mset", "multiset", "bag", "counter", "collection"]
categories = ["data-structures", "mathematics"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
mset = "0.0.3"
mset = "0.0.4"
```

Now, you can use mset:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/mset/0.0.3")]
#![doc(html_root_url = "https://docs.rs/mset/0.0.4")]
//! A hash multiset implemented as a `HashMap` where the value is `usize`.
//!
//! A mset, multiset, or bag is a set that allows multiple occurances of an
Expand Down

0 comments on commit 332fbd3

Please sign in to comment.