fix: add missing Clone derive and clean up unused imports
Made-with: Cursor
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
use tokio::io::{AsyncBufReadExt, AsyncWriteExt, BufReader};
|
use tokio::io::{AsyncBufReadExt, AsyncWriteExt, BufReader};
|
||||||
use tokio::net::UnixListener;
|
use tokio::net::UnixListener;
|
||||||
use tokio::sync::{mpsc, oneshot};
|
use tokio::sync::{mpsc, oneshot};
|
||||||
use tracing::{info, warn};
|
use tracing::info;
|
||||||
|
|
||||||
use crate::events::{BridgeStatus, ControlCommand};
|
use crate::events::ControlCommand;
|
||||||
|
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
enum ParsedCommand {
|
enum ParsedCommand {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ use std::time::Duration;
|
|||||||
use futures_util::StreamExt;
|
use futures_util::StreamExt;
|
||||||
use irc::client::prelude::*;
|
use irc::client::prelude::*;
|
||||||
use tokio::sync::mpsc;
|
use tokio::sync::mpsc;
|
||||||
use tracing::{error, info, warn};
|
use tracing::{error, info};
|
||||||
|
|
||||||
use crate::config::IrcConfig;
|
use crate::config::IrcConfig;
|
||||||
use crate::events::{BridgeEvent, Source};
|
use crate::events::{BridgeEvent, Source};
|
||||||
|
|||||||
Reference in New Issue
Block a user