diff options
| author | Botahamec <botahamec@outlook.com> | 2024-05-29 13:36:47 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2024-05-29 13:36:47 -0400 |
| commit | 2c26dd547323d39efb7aa6bf9fdf081b8953c223 (patch) | |
| tree | 5d46e189bb6f6efbdc88521cf3735423d5415cb4 /src/lib.rs | |
| parent | 35111cad16ad5202a511f85fce90196fad6f7707 (diff) | |
Fix UB with UnsafeCell
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ //! use std::thread; //! use happylock::{LockCollection, Mutex, ThreadKey}; //! -//! const N: usize = 100; +//! const N: usize = 32; //! //! static DATA: [Mutex<i32>; 2] = [Mutex::new(0), Mutex::new(1)]; //! |
