Skip to content

Commit c565c8b

Browse files
committed
chore: misc lint changes to silence broken links
Signed-off-by: Fredi Raspall <fredi@githedgehog.com>
1 parent 4dc11b7 commit c565c8b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

dpdk/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#![warn(clippy::all)]
3030
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
3131
#![deny(rustdoc::all)]
32+
#![allow(rustdoc::broken_intra_doc_links)]
3233
#![allow(private_bounds)]
3334
extern crate alloc;
3435
extern crate core;

nat/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#![deny(clippy::all, clippy::pedantic)]
55
#![deny(rustdoc::all)]
6+
#![allow(rustdoc::broken_intra_doc_links)]
67
#![allow(clippy::missing_errors_doc)]
78

89
//! Network Address Translation (NAT) for the dataplane

tracectl/src/control.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ impl TracingControl {
372372
Ok(db.default)
373373
}
374374

375-
/// Parse a string made of comma-separated tag=level; level = [off,error,warn,info,debug,trace]
375+
/// Parse a string made of comma-separated tag=level; level = \[`off,error,warn,info,debug,trace`\]
376376
fn parse_tracing_config(input: &str) -> Result<OrderMap<String, LevelFilter>, TraceCtlError> {
377377
let mut result = OrderMap::new();
378378

0 commit comments

Comments
 (0)