Fix a misspeeled comment

This commit is contained in:
Peter Ammon 2024-06-15 16:20:15 -07:00
parent 5a45b189da
commit 376bdb16c7
No known key found for this signature in database

View file

@ -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(());