aboutsummaryrefslogtreecommitdiff
path: root/src/gui/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/mod.rs')
-rw-r--r--src/gui/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/mod.rs b/src/gui/mod.rs
index 0dcf430..f56dd71 100644
--- a/src/gui/mod.rs
+++ b/src/gui/mod.rs
@@ -60,7 +60,7 @@ struct GenProgress {
impl SearchState {
pub async fn search(self) -> Vec<SearchResult> {
- let search_args = splitter::split_to_words(self.search.clone());
+ let search_args = splitter::split_to_words(self.search);
self.index.search(search_args)
}
}