Skip to content

Commit 8080223

Browse files
committed
Fix examples again
1 parent d5061d9 commit 8080223

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/cube.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ impl AppWindow {
374374

375375
let attributes = Window::default_attributes()
376376
.with_inner_size(size)
377-
.with_title(&format!("imgui-wgpu {version}"));
377+
.with_title(format!("imgui-wgpu {version}"));
378378
Arc::new(event_loop.create_window(attributes).unwrap())
379379
};
380380

examples/custom-texture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl AppWindow {
5555

5656
let attributes = Window::default_attributes()
5757
.with_inner_size(size)
58-
.with_title(&format!("imgui-wgpu {version}"));
58+
.with_title(format!("imgui-wgpu {version}"));
5959
Arc::new(event_loop.create_window(attributes).unwrap())
6060
};
6161

examples/hello-world.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl AppWindow {
5151

5252
let attributes = Window::default_attributes()
5353
.with_inner_size(size)
54-
.with_title(&format!("imgui-wgpu {version}"));
54+
.with_title(format!("imgui-wgpu {version}"));
5555
Arc::new(event_loop.create_window(attributes).unwrap())
5656
};
5757

0 commit comments

Comments
 (0)