Skip to content

Commit

Permalink
Fix dead_code lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhuw committed Oct 15, 2024
1 parent 7938217 commit 6fc1852
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/session/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ pub struct MarshalledRequest(pub Vec<u8>);
#[derive(Clone, Copy, Debug)]
pub enum OpStat<'a> {
None,
#[allow(dead_code)]
Path(&'a str),
Watch { path: &'a str, mode: WatchMode },
Watch {
path: &'a str,
mode: WatchMode,
},
}

impl MarshalledRequest {
Expand Down

0 comments on commit 6fc1852

Please sign in to comment.