Skip to content

Commit 0e4dc8c

Browse files
committed
📝 bump version to 0.1.8
1 parent 80bcdfb commit 0e4dc8c

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rcu_cell"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
description = "a lockless rcu cell implementation"
55
authors = ["Xudong Huang <[email protected]>"]
66
categories = ["concurrency", "data-structures"]

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,5 @@ multithread context.
3030
assert_eq!(z.map(|v| *v), None);
3131
assert_eq!(a.map(|v| *v), None);
3232
}
33-
34-
fn single_thread_clone() {
35-
let t = RcuCell::new(Some(10));
36-
let t1 = t.clone();
37-
assert!(t1.read().map(|v| *v) == Some(10));
38-
t1.try_lock().unwrap().update(Some(5));
39-
assert!(t.read().map(|v| *v) == Some(5));
40-
}
4133
```
4234

0 commit comments

Comments
 (0)