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")]