summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs3
-rw-r--r--src/shell/history/mod.rs4
-rw-r--r--src/shell/mod.rs2
-rw-r--r--src/shell/readline.rs2
4 files changed, 3 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs
index 5c9d0b2..64685a8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -11,6 +11,9 @@
#![allow(clippy::too_many_arguments)]
#![allow(clippy::too_many_lines)]
#![allow(clippy::type_complexity)]
+// this isn't super relevant in a binary - if it's actually a problem, we'll
+// just get a compilation failure
+#![allow(clippy::future_not_send)]
mod env;
mod format;
diff --git a/src/shell/history/mod.rs b/src/shell/history/mod.rs
index 8f4f56a..19223ec 100644
--- a/src/shell/history/mod.rs
+++ b/src/shell/history/mod.rs
@@ -19,8 +19,6 @@ impl History {
}
}
- // render always happens on the main task
- #[allow(clippy::future_not_send)]
pub async fn render(
&self,
out: &mut impl textmode::Textmode,
@@ -64,8 +62,6 @@ impl History {
Ok(())
}
- // render always happens on the main task
- #[allow(clippy::future_not_send)]
pub async fn render_fullscreen(
&self,
out: &mut impl textmode::Textmode,
diff --git a/src/shell/mod.rs b/src/shell/mod.rs
index 7371933..e9bd5de 100644
--- a/src/shell/mod.rs
+++ b/src/shell/mod.rs
@@ -149,8 +149,6 @@ impl Shell {
}
}
- // render always happens on the main task
- #[allow(clippy::future_not_send)]
pub async fn render(
&self,
out: &mut impl textmode::Textmode,
diff --git a/src/shell/readline.rs b/src/shell/readline.rs
index d4f09e7..dca33f2 100644
--- a/src/shell/readline.rs
+++ b/src/shell/readline.rs
@@ -19,8 +19,6 @@ impl Readline {
}
}
- // render always happens on the main task
- #[allow(clippy::future_not_send)]
pub async fn render(
&self,
out: &mut impl textmode::Textmode,