summaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-15 13:15:15 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-15 13:15:15 -0500
commit6d027a4cf528ae0da0d1de4651f3abf42ecb2e10 (patch)
tree0970927aa52b9456d53c4c4d6c86fdd380285227 /src/state/mod.rs
parent190619cd6d502681ffb40d33ce1d8261f82ef322 (diff)
downloadnbsh-6d027a4cf528ae0da0d1de4651f3abf42ecb2e10.tar.gz
nbsh-6d027a4cf528ae0da0d1de4651f3abf42ecb2e10.zip
clippy
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 2fcaf3f..ec77725 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -44,6 +44,8 @@ impl State {
}
}
+ // render always happens on the main task
+ #[allow(clippy::future_not_send)]
pub async fn render(
&self,
out: &mut impl textmode::Textmode,