diff options
Diffstat (limited to 'src/repl')
| -rw-r--r-- | src/repl/abort.rs | 1 | ||||
| -rw-r--r-- | src/repl/handler.rs | 3 | ||||
| -rw-r--r-- | src/repl/highlighter.rs | 1 | ||||
| -rw-r--r-- | src/repl/prompt.rs | 1 |
4 files changed, 0 insertions, 6 deletions
diff --git a/src/repl/abort.rs b/src/repl/abort.rs index 5377f43..f76abb6 100644 --- a/src/repl/abort.rs +++ b/src/repl/abort.rs @@ -5,7 +5,6 @@ use std::sync::{ pub type SharedAbortSignal = Arc<AbortSignal>; -#[allow(clippy::module_name_repetitions)] pub struct AbortSignal { ctrlc: AtomicBool, ctrld: AtomicBool, 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, diff --git a/src/repl/highlighter.rs b/src/repl/highlighter.rs index b1ec023..103d198 100644 --- a/src/repl/highlighter.rs +++ b/src/repl/highlighter.rs @@ -5,7 +5,6 @@ use reedline::{Highlighter, StyledText}; const MATCH_COLOR: Color = Color::Green; -#[allow(clippy::module_name_repetitions)] pub struct ReplHighlighter { external_commands: Vec<String>, config: SharedConfig, diff --git a/src/repl/prompt.rs b/src/repl/prompt.rs index f48ce64..94b7123 100644 --- a/src/repl/prompt.rs +++ b/src/repl/prompt.rs @@ -9,7 +9,6 @@ const PROMPT_MULTILINE_COLOR: nu_ansi_term::Color = nu_ansi_term::Color::LightBl const INDICATOR_COLOR: Color = Color::Cyan; const PROMPT_RIGHT_COLOR: Color = Color::AnsiValue(5); -#[allow(clippy::module_name_repetitions)] #[derive(Clone)] pub struct ReplPrompt { config: SharedConfig, |
