mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-22 16:04:58 +08:00
Fix a misspeeled comment
This commit is contained in:
parent
5a45b189da
commit
376bdb16c7
2
src/env/environment_impl.rs
vendored
2
src/env/environment_impl.rs
vendored
|
@ -1093,7 +1093,7 @@ impl EnvStackImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is a big dorky lock we take around everything. Everything exported from this module should be
|
// This is a big dorky lock we take around everything. Everything exported from this module should be
|
||||||
// wrapped in an EnvMutexGurad using this lock.
|
// wrapped in an EnvMutexGuard using this lock.
|
||||||
// Fine grained locking is annoying here because nodes may be shared between stacks, so each
|
// Fine grained locking is annoying here because nodes may be shared between stacks, so each
|
||||||
// node would need its own lock, and each stack would need to take all the locks before any operation.
|
// node would need its own lock, and each stack would need to take all the locks before any operation.
|
||||||
static ENV_LOCK: Mutex<()> = Mutex::new(());
|
static ENV_LOCK: Mutex<()> = Mutex::new(());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user