Skip to content

Commit e7b4d6e

Browse files
committed
windows lints
1 parent 6cb5bfa commit e7b4d6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tmc-langs-util/src/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use std::path::PathBuf;
44
use thiserror::Error;
55
use tmc_langs_framework::error::FileIo;
66

7+
#[cfg(unix)]
78
use crate::task_executor::ModeBits;
89

910
#[derive(Debug, Error)]

tmc-langs-util/src/task_executor/course_refresher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ fn execute_zip(
325325
}
326326

327327
#[cfg(not(unix))]
328-
fn set_permissions(path: &Path) -> Result<(), UtilError> {
328+
fn set_permissions(_path: &Path) -> Result<(), UtilError> {
329329
// NOP on non-Unix platforms
330330
Ok(())
331331
}

0 commit comments

Comments
 (0)