Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Dec 12, 2023
1 parent 7fe51e7 commit 3ac7428
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cidre/src/nw/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
pub struct State(pub u32);

impl State {
/// The state of the connection is not valid. This state
/// will never be delivered in the connection's state update handler, and can be treated as
/// an unexpected value.
/// The state of the connection is not valid. This state
/// will never be delivered in the connection's state update handler, and can be treated as
/// an unexpected value.
#[doc(alias = "nw_connection_state_invalid")]
pub const INVALID: Self = Self(0);

/// The connection is waiting for a usable network before re-attempting
/// The connection is waiting for a usable network before re-attempting
#[doc(alias = "nw_connection_state_waiting")]
pub const WAITING: Self = Self(1);

Expand Down

0 comments on commit 3ac7428

Please # to comment.