diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 80c2a432193..01dc83ba710 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,6 +19,7 @@ jobs: profile: minimal toolchain: stable override: true + - run: sudo apt-get install libspeechd-dev - uses: actions-rs/cargo@v1 with: command: check @@ -114,6 +115,7 @@ jobs: toolchain: stable override: true - run: rustup component add clippy + - run: sudo apt-get install libspeechd-dev - uses: actions-rs/cargo@v1 with: command: clippy diff --git a/egui/src/style.rs b/egui/src/style.rs index 9c723574b87..901053b8971 100644 --- a/egui/src/style.rs +++ b/egui/src/style.rs @@ -619,7 +619,7 @@ impl Visuals { /// Show small toggle-button for light and dark mode. #[must_use] pub fn light_dark_small_toggle_button(&self, ui: &mut crate::Ui) -> Option { - #![allow(clippy::collapsible_if)] + #![allow(clippy::collapsible_else_if)] if self.dark_mode { if ui .add(Button::new("☀").frame(false)) diff --git a/egui/src/widgets/label.rs b/egui/src/widgets/label.rs index 6a9ec14fdf0..b0ad54d9392 100644 --- a/egui/src/widgets/label.rs +++ b/egui/src/widgets/label.rs @@ -342,20 +342,20 @@ impl Widget for Label { } } -impl Into