Skip to content

Commit 52eed0a

Browse files
committed
refactor: change add _ as var is unused in wasm
1 parent 81dfa1f commit 52eed0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,10 +648,10 @@ impl LogViewerApp {
648648

649649
if self.show_last_filename {
650650
if let Some(filename) = self.last_filename.lock().unwrap().as_ref() {
651-
let label = ui.label(format!("Filename: {}", filename.display()));
651+
let _label = ui.label(format!("Filename: {}", filename.display()));
652652
#[cfg(not(target_arch = "wasm32"))]
653653
if let Some(folder) = self.start_open_path.lock().unwrap().as_ref() {
654-
label.on_hover_text(folder.display().to_string());
654+
_label.on_hover_text(folder.display().to_string());
655655
}
656656
}
657657
}

0 commit comments

Comments
 (0)