Skip to content

Commit

Permalink
fix a clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
d0iasm committed Apr 1, 2024
1 parent 12b0707 commit 4a93bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noli/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub struct Window {
/// https://docs.rs/embedded-graphics/latest/embedded_graphics/geometry/trait.Dimensions.html
impl Dimensions for Window {
fn bounding_box(&self) -> Rectangle {
self.rect.clone()
return self.rect;
}
}

Expand Down

0 comments on commit 4a93bee

Please sign in to comment.