style: wrap comments
This commit is contained in:
parent
b35efa8f33
commit
5825e24d56
13 changed files with 246 additions and 220 deletions
|
|
@ -503,7 +503,8 @@ impl Loader {
|
|||
if let Ok(lock_file) = fs::OpenOptions::new().write(true).open(&lock_path) {
|
||||
recompile = false;
|
||||
if lock_file.try_lock_exclusive().is_err() {
|
||||
// if we can't acquire the lock, another process is compiling the parser, wait for it and don't recompile
|
||||
// if we can't acquire the lock, another process is compiling the parser, wait for
|
||||
// it and don't recompile
|
||||
lock_file.lock_exclusive()?;
|
||||
recompile = false;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue