Skip to content

Commit

Permalink
Fix error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Heliozoa committed Nov 21, 2024
1 parent c5f99a2 commit aed67ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/tmc-langs-util/src/file_util/lock_windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ impl Lock {
path: path.as_ref().to_path_buf(),
options,
lock,
forget: false,
});
}
Err(err) => {
Expand Down Expand Up @@ -123,7 +122,7 @@ impl Lock {
})
}

pub fn forget(mut self: Self) {
pub fn forget(self) {
let _self = self;
// no-op on windows
}
Expand Down

0 comments on commit aed67ae

Please sign in to comment.