Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel5151 committed Nov 24, 2023
1 parent 7d2413d commit 07c6167
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ rustflags = [
# type StopReason = MultiThreadStopReason<<Self::Arch as Arch>::Usize>>;
# Result<Option<StopReason>, Self::Error>
"-Aclippy::type_complexity",
"-Aclippy::manual_range_patterns",
]
2 changes: 1 addition & 1 deletion src/protocol/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use paste::paste;
/// Common imports used by >50% of all packet parsers.
///
/// Do not clutter this prelude with types only used by a few packets.
pub(self) mod prelude {
pub mod prelude {
pub use crate::protocol::commands::ParseCommand;
pub use crate::protocol::common::hex::decode_hex;
pub use crate::protocol::common::hex::decode_hex_buf;
Expand Down

0 comments on commit 07c6167

Please sign in to comment.