Skip to content

Commit

Permalink
make clippy happy (new nightly lints)
Browse files Browse the repository at this point in the history
  • Loading branch information
chippers committed Jun 8, 2021
1 parent f384c20 commit 08c646c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/multi_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn main() -> wry::Result<()> {
let window2 = WindowBuilder::new()
.with_title("RODA RORA DA")
.with_inner_size(PhysicalSize::new(426, 197))
.build(&event_loop)
.build(event_loop)
.unwrap();
let id = window2.id();
let webview2 = WebViewBuilder::new(window2)
Expand Down
2 changes: 1 addition & 1 deletion examples/system_tray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn main() -> wry::Result<()> {
origin: MenuType::SystemTray,
} => {
if menu_id == open_new_window_id {
let window = Window::new(&event_loop).unwrap();
let window = Window::new(event_loop).unwrap();
let id = window.id();
let webview = WebViewBuilder::new(window)
.unwrap()
Expand Down

0 comments on commit 08c646c

Please sign in to comment.