diff options
-rw-r--r-- | src/tabs/revlog.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs/revlog.rs b/src/tabs/revlog.rs index d854dcea..af0cea00 100644 --- a/src/tabs/revlog.rs +++ b/src/tabs/revlog.rs @@ -41,7 +41,7 @@ struct LogSearchResult { duration: Duration, } -//TODO: deserves its on component +//TODO: deserves its own component enum LogSearch { Off, Searching(AsyncLog, LogFilterSearchOptions), @@ -50,7 +50,7 @@ enum LogSearch { impl LogSearch { fn set_background(&mut self) { - if let LogSearch::Searching(log, _) = self { + if let Self::Searching(log, _) = self { log.set_background(); } } |