diff options
| author | sigoden <sigoden@gmail.com> | 2023-10-30 10:22:00 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-10-30 10:22:00 +0800 |
| commit | 44ea384ee59fafb76882e1d6687bc4cbc6d61611 (patch) | |
| tree | 1ca679e0eb79b75a2e01411cb00509914bec5a23 /src/repl/handler.rs | |
| parent | 49595053f0a55571f42582ffae4e705c82f2aa00 (diff) | |
| download | aichat-44ea384ee59fafb76882e1d6687bc4cbc6d61611.tar.gz | |
chore: remove unnecessary clippy macros
Diffstat (limited to 'src/repl/handler.rs')
| -rw-r--r-- | src/repl/handler.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs index 35a57da..bafad14 100644 --- a/src/repl/handler.rs +++ b/src/repl/handler.rs @@ -27,7 +27,6 @@ pub enum ReplCmd { ReadFile(String), } -#[allow(clippy::module_name_repetitions)] pub struct ReplCmdHandler { config: SharedConfig, abort: SharedAbortSignal, @@ -35,7 +34,6 @@ pub struct ReplCmdHandler { } impl ReplCmdHandler { - #[allow(clippy::unnecessary_wraps)] pub fn init(config: SharedConfig, abort: SharedAbortSignal) -> Result<Self> { let clipboard = Clipboard::new().map(RefCell::new); Ok(Self { @@ -135,7 +133,6 @@ impl ReplCmdHandler { } } -#[allow(clippy::module_name_repetitions)] pub struct ReplyStreamHandler { sender: Sender<ReplyStreamEvent>, buffer: String, |
