Skip to content

Commit

Permalink
Adhere to lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Mar 19, 2024
1 parent 24c906d commit 3ebdaea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scaling_modes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn setup(

// Windows
let mut window1 = windows.single_mut();
window1.title = "Fixed Vertical Field of View (Perspective vs Orthographic)".to_owned();
"Fixed Vertical Field of View (Perspective vs Orthographic)".clone_into(&mut window1.title);
let res = &window1.resolution;
let max = Vec2::new(res.width() * 0.5, res.height()).into();
// Left and right camera orientation.
Expand Down

0 comments on commit 3ebdaea

Please sign in to comment.