From 2c3d429b8e26c6424a927c2e3500589be313a93b Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Fri, 12 Feb 2021 18:20:48 +0900 Subject: [PATCH] Suppress Clippy --- plume-front/src/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-front/src/editor.rs b/plume-front/src/editor.rs index 155cf60b..8d0f2a81 100644 --- a/plume-front/src/editor.rs +++ b/plume-front/src/editor.rs @@ -210,7 +210,7 @@ fn autosave_debounce() { if let Some(timeout) = timeout.take() { window.clear_timeout_with_handle(timeout); } - let callback = Closure::once(|| autosave()); + let callback = Closure::once(autosave); **timeout = window .set_timeout_with_callback_and_timeout_and_arguments_0( callback.as_ref().unchecked_ref(),