diff options
| author | Ralf Jung <post@ralfj.de> | 2018-08-08 18:12:33 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-08-08 18:12:33 +0200 |
| commit | 31bec788f46c73ab14c72868dc6141141320a058 (patch) | |
| tree | f51b52ff63cf9160f406ff019aabcec034b056e4 /src/libstd/sys/unix/args.rs | |
| parent | 645388583ca47357a6a2e5878a9cde84e2e579d3 (diff) | |
| download | rust-31bec788f46c73ab14c72868dc6141141320a058.tar.gz rust-31bec788f46c73ab14c72868dc6141141320a058.zip | |
avoid using the word 'initialized' to talk about that non-reentrant-capable state of the mutex
Diffstat (limited to 'src/libstd/sys/unix/args.rs')
| -rw-r--r-- | src/libstd/sys/unix/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/args.rs b/src/libstd/sys/unix/args.rs index 220bd11b1f1..c3c033dfbc7 100644 --- a/src/libstd/sys/unix/args.rs +++ b/src/libstd/sys/unix/args.rs @@ -80,7 +80,7 @@ mod imp { static mut ARGC: isize = 0; static mut ARGV: *const *const u8 = ptr::null(); - // `ENV_LOCK` is never initialized fully, so it is UB to attempt to + // We never call `ENV_LOCK.init()`, so it is UB to attempt to // acquire this mutex reentrantly! static LOCK: Mutex = Mutex::new(); |
