From 9021a06eca26907409fdf9bbf797049dc5ef18d9 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Mon, 19 Feb 2024 17:29:14 +0200 Subject: [PATCH] chore: fix clippy --- examples/wry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wry.rs b/examples/wry.rs index 8b0afead..1f3f47ac 100644 --- a/examples/wry.rs +++ b/examples/wry.rs @@ -262,7 +262,7 @@ fn main() -> wry::Result<()> { } }; - fn create_webview<'a>(window: &'a Rc) -> WebViewBuilder<'a> { + fn create_webview(window: &Rc) -> WebViewBuilder<'_> { #[cfg(not(target_os = "linux"))] return WebViewBuilder::new(window); #[cfg(target_os = "linux")]