Skip to content

Commit aed67ae

Browse files
committed
Fix error on windows
1 parent c5f99a2 commit aed67ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/tmc-langs-util/src/file_util/lock_windows.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ impl Lock {
6868
path: path.as_ref().to_path_buf(),
6969
options,
7070
lock,
71-
forget: false,
7271
});
7372
}
7473
Err(err) => {
@@ -123,7 +122,7 @@ impl Lock {
123122
})
124123
}
125124

126-
pub fn forget(mut self: Self) {
125+
pub fn forget(self) {
127126
let _self = self;
128127
// no-op on windows
129128
}

0 commit comments

Comments
 (0)