Skip to content

Commit

Permalink
Silence some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
trumank committed Jul 22, 2024
1 parent 42bf3a3 commit e261309
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions hook/src/hooks/pak/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use self::file::PlainFileProviderConfig;
use self::network::EditorNetworkConfig;

#[derive(Debug, Default)]
#[allow(unused)]
pub struct FileInfo {
pub file_exists: bool,
pub read_only: bool,
Expand Down
2 changes: 2 additions & 0 deletions hook/src/hooks/pak/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ fn write_message<W: Write>(writer: &mut W, message: &Message) -> Result<()> {
}

#[derive(Debug)]
#[allow(unused)]
enum Message {
SyncFile,
DeleteFile,
Expand Down Expand Up @@ -341,6 +342,7 @@ impl MessageIterateDirectoryRecursively {
}

#[derive(Debug)]
#[allow(unused)]
pub struct FileEntry {
pub path: String,
pub timestamp: u64,
Expand Down

0 comments on commit e261309

Please sign in to comment.