Skip to content

Commit

Permalink
chore: allow unused field in tracepipe StopHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
banditopazzo authored and vadorovsky committed Mar 25, 2024
1 parent 92a02e6 commit 5b3161a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bpf-common/src/trace_pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use tokio_fd::AsyncFd;

const PATH: &str = "/sys/kernel/debug/tracing/trace_pipe";

pub struct StopHandle(oneshot::Sender<()>);
pub struct StopHandle(#[allow(unused)] oneshot::Sender<()>);

pub async fn start() -> StopHandle {
let (tx, rx) = oneshot::channel();
Expand Down

0 comments on commit 5b3161a

Please sign in to comment.