Lint
This commit is contained in:
parent
6ae87393c7
commit
f230dcd701
@ -92,7 +92,7 @@ impl Screen {
|
||||
fn metamode(&self, map: &ScreenMapping) -> Result<String, CommandError> {
|
||||
let Resolution { width, height } = self.resolution;
|
||||
let Offset { x, y } = self.offset;
|
||||
let (in_w, in_h) = match self.orientation {
|
||||
let (_in_w, _in_h) = match self.orientation {
|
||||
Orientation::None | Orientation::Invert => (width, height),
|
||||
Orientation::Right | Orientation::Left => (height, width),
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user