all: fix clippy lints
This commit is contained in:
parent
82a62e3fd9
commit
0b46391789
2 changed files with 2 additions and 1 deletions
|
|
@ -393,6 +393,7 @@ pub fn rects_to_bands(rects_tmp: &[RectRaw]) -> Container {
|
||||||
let mut res = Container::new();
|
let mut res = Container::new();
|
||||||
|
|
||||||
for &[y1, y2] in ys.array_windows_ext::<2>() {
|
for &[y1, y2] in ys.array_windows_ext::<2>() {
|
||||||
|
#[allow(clippy::never_loop)]
|
||||||
loop {
|
loop {
|
||||||
macro_rules! check_rect {
|
macro_rules! check_rect {
|
||||||
($rect:expr) => {{
|
($rect:expr) => {{
|
||||||
|
|
|
||||||
|
|
@ -557,7 +557,7 @@ impl XBackend {
|
||||||
height_mm: output.height.get(),
|
height_mm: output.height.get(),
|
||||||
}));
|
}));
|
||||||
output.changed();
|
output.changed();
|
||||||
self.present(&output).await;
|
self.present(output).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn query_devices(self: &Rc<Self>, deviceid: u16) -> Result<(), XBackendError> {
|
async fn query_devices(self: &Rc<Self>, deviceid: u16) -> Result<(), XBackendError> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue