This commit is contained in:
extrawurst 2023-08-21 12:54:56 +02:00
parent 0cf041bb98
commit 77bb69a162

View File

@ -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();
}
}