Skip to content

Commit 8459e5f

Browse files
committed
fix(src/main): There are unused variables and unused import elements
Signed-off-by: xuesongbj <[email protected]>
1 parent 8734add commit 8459e5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use std::{io, thread};
4040

4141
use anyhow::Result;
4242
use injector::InjectorConfig;
43-
use jsonrpc::{start_server, Comm};
43+
use jsonrpc::start_server;
4444
use mount_injector::{MountInjectionGuard, MountInjector};
4545
use nix::sys::signal::{signal, SigHandler, Signal};
4646
use nix::unistd::{pipe, read, write};
@@ -179,7 +179,7 @@ fn main() -> Result<()> {
179179
Err(e) => Err(anyhow::Error::msg(e.to_string())),
180180
};
181181

182-
let (tx, rx) = mpsc::channel();
182+
let (tx, _rx) = mpsc::channel();
183183
{
184184
let hookfs = match &mount_injector {
185185
Ok(e) => Some(e.hookfs.clone().into()),

0 commit comments

Comments
 (0)