Skip to content

Commit

Permalink
Fix clippy lint suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
grtcdr committed Feb 1, 2025
1 parent 953ad7f commit 821e4b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/openwrt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,15 @@ impl MemoryReadout for OpenWrtMemoryReadout {
}

fn swap_total(&self) -> Result<u64, ReadoutError> {
return Err(ReadoutError::NotImplemented);
Err(ReadoutError::NotImplemented);
}

fn swap_free(&self) -> Result<u64, ReadoutError> {
return Err(ReadoutError::NotImplemented);
Err(ReadoutError::NotImplemented);
}

fn swap_used(&self) -> Result<u64, ReadoutError> {
return Err(ReadoutError::NotImplemented);
Err(ReadoutError::NotImplemented);
}
}

Expand Down

0 comments on commit 821e4b4

Please # to comment.