Skip to content

Commit c703041

Browse files
hanif.ariffin.4326@gmail.comhbina
authored andcommitted
Rewrite the entire library.
Implemented some helper functions Partially implemented some of the easier functions from here servo/rust-smallvec#220 (comment) Implemented `PartialEq` for SmallSet Added tests for `replace`. nitpick from Intellij Rust SmallSet is now a wrapper over enum of SmallVec and HashSet Insertion now moves to a heap allocated HashSet when capacity. Fixed compilation error from previous commit Might want to merge this two later. Cleared now changes to stack. Implemented drain Moved tests and updated them. Updated tests. Fixed set equality.
1 parent 7c23052 commit c703041

File tree

4 files changed

+680
-95
lines changed

4 files changed

+680
-95
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
target
22
Cargo.lock
3+
.idea/

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ documentation = "https://cfallin.github.io/rust-smallset/smallset/"
88
license = "MIT"
99

1010
[dependencies]
11-
smallvec = "0.1"
11+
smallvec = "1.4.2"

0 commit comments

Comments
 (0)