summaryrefslogtreecommitdiffstats
path: root/src/app/selection.rs
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/selection.rs
parent3f0aaec6f119ec7957bae56d883af04738d9f2ef (diff)
spill some blood for the Clippy god
Diffstat (limited to 'src/app/selection.rs')
-rw-r--r--src/app/selection.rs2
1 files changed, 1 insertions, 1 deletions
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,