ok/jj
1
0
Fork 0
forked from mirrors/jj

local_working_copy: fix some clippy lints that only show up on Windows

This commit is contained in:
Thomas Castiglione 2024-05-04 20:18:24 +08:00 committed by gulbanana
parent 59d3a2c866
commit 13c8f32ceb

View file

@ -13,6 +13,7 @@
// limitations under the License.
#![allow(missing_docs)]
#![allow(clippy::let_unit_value)]
use std::any::Any;
use std::collections::HashSet;
@ -109,7 +110,6 @@ impl FileState {
let executable = {
// Windows doesn't support executable bit.
let _ = executable;
()
};
FileState {
file_type: FileType::Normal { executable },