Suppress Clippy
This commit is contained in:
parent
7562cf1e75
commit
2c3d429b8e
@ -210,7 +210,7 @@ fn autosave_debounce() {
|
|||||||
if let Some(timeout) = timeout.take() {
|
if let Some(timeout) = timeout.take() {
|
||||||
window.clear_timeout_with_handle(timeout);
|
window.clear_timeout_with_handle(timeout);
|
||||||
}
|
}
|
||||||
let callback = Closure::once(|| autosave());
|
let callback = Closure::once(autosave);
|
||||||
**timeout = window
|
**timeout = window
|
||||||
.set_timeout_with_callback_and_timeout_and_arguments_0(
|
.set_timeout_with_callback_and_timeout_and_arguments_0(
|
||||||
callback.as_ref().unchecked_ref(),
|
callback.as_ref().unchecked_ref(),
|
||||||
|
Loading…
Reference in New Issue
Block a user