Skip to content

Commit

Permalink
chore(*): bump SCC to 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wvwwvwwv committed Nov 2, 2023
1 parent 86ad6b0 commit 9e0c659
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "scc"
description = "High performance containers and utilities for concurrent and asynchronous programming"
documentation = "https://docs.rs/scc"
version = "2.0.2"
version = "2.0.3"
authors = ["wvwwvwwv <[email protected]>"]
edition = "2021"
readme = "README.md"
Expand All @@ -18,11 +18,11 @@ serde = { version = "1.0", optional = true }
criterion = "0.5"
futures = "0.3"
loom = "0.7"
proptest = "1.2"
proptest = "1.3"
rand = "0.8"
serde_test = "1.0"
static_assertions = "1.1"
tokio = { version = "1.32", features = ["full"] }
tokio = { version = "1.33", features = ["full"] }

[[bench]]
name = "bag"
Expand Down
8 changes: 5 additions & 3 deletions src/tests/correctness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2029,9 +2029,11 @@ mod bag_test {
}
assert_eq!(INST_CNT.load(Relaxed), workload_size);
assert_eq!(bag.iter_mut().count(), workload_size);
bag.iter_mut().for_each(|e| {
*e = R::new(&INST_CNT);
});

for v in &mut bag {
assert_eq!(v.0.load(Relaxed), INST_CNT.load(Relaxed));
}
assert_eq!(INST_CNT.load(Relaxed), workload_size);

for v in bag {
assert_eq!(v.0.load(Relaxed), INST_CNT.load(Relaxed));
Expand Down

0 comments on commit 9e0c659

Please sign in to comment.