From 86c7e357e8b07074bdcee62674c6c9d93dba1f99 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 11 Dec 2024 03:52:41 +0200 Subject: [PATCH] use const --- .../browser/window/tab/item/identity/gemini/widget/form/save.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs index 4545ba21..d1099cdd 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs @@ -63,7 +63,7 @@ impl Save { .filters(&filters) .initial_name(format!("{}.pem", certificate.name)) .build() - .save(None::<&Window>, None::<&Cancellable>, { + .save(Window::NONE, Cancellable::NONE, { let button = button.clone(); move |result| { match result {