From fd3c062daf4f4472821e9e986642148bcc321423 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 20 Nov 2020 09:06:21 -0800 Subject: [PATCH] cargo fmt latest rust changed the formatting options, so reformat to avoid the CI being unhappy. --- term/src/input.rs | 5 ++++- window/src/os/wayland/mod.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/term/src/input.rs b/term/src/input.rs index fc9424af7..3895a060e 100644 --- a/term/src/input.rs +++ b/term/src/input.rs @@ -1,5 +1,8 @@ // clippy hates bitflags -#![cfg_attr(feature = "cargo-clippy", allow(clippy::suspicious_arithmetic_impl, clippy::redundant_field_names))] +#![cfg_attr( + feature = "cargo-clippy", + allow(clippy::suspicious_arithmetic_impl, clippy::redundant_field_names) +)] use super::VisibleRowIndex; #[cfg(feature = "use_serde")] diff --git a/window/src/os/wayland/mod.rs b/window/src/os/wayland/mod.rs index 5585ee1ee..2603bb988 100644 --- a/window/src/os/wayland/mod.rs +++ b/window/src/os/wayland/mod.rs @@ -1,4 +1,4 @@ -#![cfg(all(unix, feature="wayland", not(target_os = "macos")))] +#![cfg(all(unix, feature = "wayland", not(target_os = "macos")))] pub mod connection; pub mod window;