Skip to content

Commit 85dce1f

Browse files
committed
Remove aggressive lints
1 parent d20d08c commit 85dce1f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/tc/actions/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
#![deny(
2-
missing_docs,
3-
clippy::all,
4-
clippy::pedantic,
5-
clippy::unwrap_used,
6-
clippy::expect_used,
7-
clippy::panic
8-
)]
9-
#![allow(clippy::module_name_repetitions, clippy::match_same_arms)]
101
// SPDX-License-Identifier: MIT
112

123
mod action;

src/tc/actions/nat_flag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const TCA_ACT_FLAGS_REPLACE: u32 = 1u32 << (TCA_ACT_FLAGS_USER_BITS + 2);
88
const TCA_ACT_FLAGS_NO_RTNL: u32 = 1u32 << (TCA_ACT_FLAGS_USER_BITS + 3);
99
const TCA_ACT_FLAGS_AT_INGRESS: u32 = 1u32 << (TCA_ACT_FLAGS_USER_BITS + 4);
1010

11-
// TODO: document these flags.
1211
bitflags! {
12+
/// Network Address Translation flags.
1313
#[derive(Debug, PartialEq, Eq, Clone, Copy, Default)]
1414
#[non_exhaustive]
1515
pub struct TcNatFlags: u32 {

0 commit comments

Comments
 (0)