From 60090e1fa38a7d9c0b9d45f3eaf6d99b7009e2c6 Mon Sep 17 00:00:00 2001 From: zephyr Date: Sun, 22 Sep 2024 18:24:10 +0900 Subject: [PATCH] make clippy happy --- realm_lb/Cargo.toml | 2 +- realm_lb/src/lib.rs | 2 -- src/conf/mod.rs | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/realm_lb/Cargo.toml b/realm_lb/Cargo.toml index a09d6e69..db77c028 100644 --- a/realm_lb/Cargo.toml +++ b/realm_lb/Cargo.toml @@ -2,7 +2,7 @@ name = "realm_lb" version = "0.1.0" authors = ["zephyr "] -description = "Realm's flexible hooks." +description = "Realm's load balance strategies." repository = "https://github.com/zhboner/realm" readme = "README.md" documentation = "https://docs.rs/realm_lb" diff --git a/realm_lb/src/lib.rs b/realm_lb/src/lib.rs index a97dd48e..34744134 100644 --- a/realm_lb/src/lib.rs +++ b/realm_lb/src/lib.rs @@ -1,5 +1,3 @@ -#![feature(unchecked_math)] - /// Peer token. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Token(pub u8); diff --git a/src/conf/mod.rs b/src/conf/mod.rs index 9310121a..3348941c 100644 --- a/src/conf/mod.rs +++ b/src/conf/mod.rs @@ -20,6 +20,7 @@ pub use endpoint::{EndpointConf, EndpointInfo}; mod legacy; pub use legacy::LegacyConf; +#[allow(clippy::too_long_first_doc_paragraph)] /// Conig Architecture /// cmd | file => LogConf => { level, output } /// cmd | file => DnsConf => { resolve cinfig, opts }