summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-05-02 10:33:02 +0200
committerCanop <cano.petrole@gmail.com>2021-05-02 10:33:02 +0200
commit57277840522e463546476c0bda34314b9e9b2c21 (patch)
tree47948abdf30325fbb3b46d477764ba1806009d6d /src/app
parent3f0aaec6f119ec7957bae56d883af04738d9f2ef (diff)
spill some blood for the Clippy god
Diffstat (limited to 'src/app')
-rw-r--r--src/app/app.rs2
-rw-r--r--src/app/selection.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/app.rs b/src/app/app.rs
index e9b03a8..63a2274 100644
--- a/src/app/app.rs
+++ b/src/app/app.rs
@@ -695,7 +695,7 @@ impl App {
// is that a 100% safe way of quitting ?
return Ok(self.launch_at_end.take());
} else {
- self.display_panels(w, &skin, &mut app_state, con)?;
+ self.display_panels(w, &skin, &app_state, con)?;
time!(
"sequence pending tasks",
self.do_pending_tasks(w, &skin, &mut dam, &mut app_state, con)?,
diff --git a/src/app/selection.rs b/src/app/selection.rs
index 5bf8121..eebd791 100644
--- a/src/app/selection.rs
+++ b/src/app/selection.rs
@@ -118,7 +118,7 @@ impl<'a> SelInfo<'a> {
}
}
}
- pub fn as_one_sel(self) -> Option<Selection<'a>> {
+ pub fn one_sel(self) -> Option<Selection<'a>> {
match self {
SelInfo::One(sel) => Some(sel),
_ => None,