Skip to content

Commit f828015

Browse files
committed
Fix clippy lint for unused future
Signed-off-by: Nico Burns <[email protected]>
1 parent 47796dd commit f828015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/browser/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn app() -> Element {
177177
if is_enter {
178178
evt.prevent_default();
179179
if let Some(handle) = url_input_handle() {
180-
let _ = handle.set_focus(false);
180+
core::mem::drop(handle.set_focus(false));
181181
}
182182
let req = req_from_string(&url_input_value.read());
183183
if let Some(req) = req {

0 commit comments

Comments
 (0)