From 9f1be63ce60e8f443aa8dabc2be54164ec86cb28 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Thu, 11 Feb 2021 21:06:37 -0800 Subject: [PATCH] format code --- Cargo.toml | 2 +- src/window/settings.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6e46cdd..b32a323 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ default-features = false features = ["precommit-hook", "run-cargo-test", "run-cargo-clippy", "run-cargo-fmt"] [target.'cfg(windows)'.dependencies] -winapi = "0.3.8" +winapi = { version = "0.3.9", features = ["winuser"] } [target.'cfg(windows)'.build-dependencies] winres = "0.1.11" diff --git a/src/window/settings.rs b/src/window/settings.rs index 48c9948..9a10c8a 100644 --- a/src/window/settings.rs +++ b/src/window/settings.rs @@ -8,7 +8,7 @@ pub struct WindowSettings { pub transparency: f32, pub no_idle: bool, pub fullscreen: bool, - pub iso_layout: bool + pub iso_layout: bool, } impl Default for WindowSettings { @@ -20,7 +20,7 @@ impl Default for WindowSettings { .neovim_arguments .contains(&String::from("--noIdle")), fullscreen: false, - iso_layout: false + iso_layout: false, } } }