mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 12:25:02 +01:00
Fix clippy lints
This commit is contained in:
parent
45801205dc
commit
5ed33b785f
2 changed files with 3 additions and 4 deletions
|
|
@ -92,7 +92,7 @@ pub struct IntRect {
|
|||
pub h: i32,
|
||||
}
|
||||
impl IntRect {
|
||||
pub(crate) fn to_sf(&self) -> sfml::graphics::Rect<i32> {
|
||||
pub(crate) fn to_sf(self) -> sfml::graphics::Rect<i32> {
|
||||
sfml::graphics::Rect::<i32> {
|
||||
left: self.x,
|
||||
top: self.y,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue