summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 79d1945..9ee6718 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ This library prevents #4, by requiring that all of the resources that a thread n
## Example
```rust
-let data = Mutex::new(0);
+let data: SpinLock<i32> = Mutex::new(0);
for _ in 0..N {
thread::spawn(move || {