mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Fix a misspeeled comment
This commit is contained in:
2
src/env/environment_impl.rs
vendored
2
src/env/environment_impl.rs
vendored
@@ -1093,7 +1093,7 @@ pub fn get_pwd_slash(&self) -> WString {
|
||||
}
|
||||
|
||||
// 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(());
|
||||
|
||||
Reference in New Issue
Block a user