mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix a misspeeled comment
This commit is contained in:
parent
5a45b189da
commit
376bdb16c7
1 changed files with 1 additions and 1 deletions
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
|
||||
// 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
|
||||
// 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(());
|
||||
|
|
Loading…
Reference in a new issue