Skip to content

Commit 2144e78

Browse files
committed
fix build error with qualified function
1 parent 06fe0f6 commit 2144e78

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix-script/src/opts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ impl Opts {
289289
drop(builder);
290290
// Release lock.
291291
log::debug!("releasing lock");
292-
lock_file.unlock().context("could not release lock")?;
292+
fs2::FileExt::unlock(&lock_file).context("could not release lock")?;
293293
// Do not remove the lock file because other tasks may still be
294294
// waiting for obtaining a lock on the file.
295295
} else {

0 commit comments

Comments
 (0)