diff options
| author | Mica White <botahamec@outlook.com> | 2024-03-08 11:47:54 -0500 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2024-03-08 11:47:54 -0500 |
| commit | 6b6f207965cc71fa9a7a056a1c89675116abec74 (patch) | |
| tree | 82561d29cc9c5ba9bc91ff1bd35ce74d64fd35d7 /README.md | |
| parent | e8cb12855d975a49f72210bb8c738092d6b82171 (diff) | |
Add type to example
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 || { |
