Skip to content

Commit

Permalink
Fix miscellaneous Clippy problems (#72)
Browse files Browse the repository at this point in the history
Fix miscellaneous Clippy problems that are now occurring on nightly.
  • Loading branch information
brandur authored Apr 11, 2024
1 parent 6a86541 commit fc12db8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use std;
use std::error;
use std::fmt;

Expand Down
3 changes: 1 addition & 2 deletions src/redis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// We have to disable a couple Clippy checks here because we'll otherwise have
// warnings thrown from within macros provided by the `bigflags` package.
#[cfg_attr(
feature = "cargo-clippy",
feature = "clippy",
allow(clippy::redundant_field_names, clippy::suspicious_arithmetic_impl)
)]
pub mod raw;
Expand All @@ -13,7 +13,6 @@ use error::CellError;
use libc::{c_int, c_long, c_longlong, size_t};
use std::ptr;
use std::string;
use time;

/// `LogLevel` is a level of logging to be specified with a Redis log directive.
#[derive(Clone, Copy, Debug)]
Expand Down

0 comments on commit fc12db8

Please sign in to comment.