Suppress Clippy

This commit is contained in:
Kitaiti Makoto 2021-02-12 18:20:48 +09:00
parent 7562cf1e75
commit 2c3d429b8e

View file

@ -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(),