We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b2c0e9f + d379107 commit dc98caeCopy full SHA for dc98cae
src/ui/display.rs
@@ -144,7 +144,7 @@ impl DisplayExclusive {
144
///
145
/// Drawing a pixel to the bottom of DisplayRotated results in the pixel
146
/// appearing on the right of the actual screen.
147
- pub fn rotate(&mut self) -> DisplayRotated {
+ pub fn rotate(&mut self) -> DisplayRotated<'_> {
148
// This could easily be made more generic, by accepting a direction
149
// parameter, but that would result in dead code because we only
150
// draw the button legend rotated.
0 commit comments