From 6127ffb970ef3e979c3fa64191e4a41dd6c9b471 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sat, 27 Nov 2021 21:34:08 -0500 Subject: [PATCH] lints --- veilid-cli/src/main.rs | 2 ++ veilid-server/src/main.rs | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/veilid-cli/src/main.rs b/veilid-cli/src/main.rs index e4e36e25..aac2f834 100644 --- a/veilid-cli/src/main.rs +++ b/veilid-cli/src/main.rs @@ -1,3 +1,5 @@ +#![warn(clippy::all)] + use anyhow::*; use async_std::prelude::*; use clap::{App, Arg}; diff --git a/veilid-server/src/main.rs b/veilid-server/src/main.rs index 9c97645a..abcbc030 100644 --- a/veilid-server/src/main.rs +++ b/veilid-server/src/main.rs @@ -1,4 +1,5 @@ #![forbid(unsafe_code)] +#![warn(clippy::all)] mod client_api; mod settings; @@ -7,8 +8,6 @@ pub mod veilid_client_capnp { include!(concat!(env!("OUT_DIR"), "/proto/veilid_client_capnp.rs")); } - - cfg_if::cfg_if! { if #[cfg(windows)] { mod windows;