Skip to content

Commit dc98cae

Browse files
authored
Merge pull request #96 from hnez/cargo-check-nightly-2025-06-13
ui: display: prevent mismatched_lifetime_syntaxes compile warning
2 parents b2c0e9f + d379107 commit dc98cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/display.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl DisplayExclusive {
144144
///
145145
/// Drawing a pixel to the bottom of DisplayRotated results in the pixel
146146
/// appearing on the right of the actual screen.
147-
pub fn rotate(&mut self) -> DisplayRotated {
147+
pub fn rotate(&mut self) -> DisplayRotated<'_> {
148148
// This could easily be made more generic, by accepting a direction
149149
// parameter, but that would result in dead code because we only
150150
// draw the button legend rotated.

0 commit comments

Comments
 (0)