Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyrchien committed Sep 22, 2024
1 parent a1af137 commit 60090e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion realm_lb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "realm_lb"
version = "0.1.0"
authors = ["zephyr <[email protected]>"]
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"
Expand Down
2 changes: 0 additions & 2 deletions realm_lb/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(unchecked_math)]

/// Peer token.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Token(pub u8);
Expand Down
1 change: 1 addition & 0 deletions src/conf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 60090e1

Please sign in to comment.