diff --git a/p2p/bucket/src/lib.rs b/p2p/bucket/src/lib.rs index 0581dc3bd..701344ba3 100644 --- a/p2p/bucket/src/lib.rs +++ b/p2p/bucket/src/lib.rs @@ -30,12 +30,12 @@ //! assert_eq!(2, bucket.len_bucket(&[96_u8,96_u8]).unwrap()); //! assert_eq!(1, bucket.len_bucket(&[127_u8,0_u8]).unwrap()); //! -//! // Attempting to push a new IP within `96.96.0.0/16` bucket will return the IP back +//! // Attempting to push a new IP within `96.96.0.0/16` bucket will return the IP back //! // as this subnet is already full. //! let pushed = bucket.push("96.96.0.3".parse().unwrap()); //! assert!(pushed.is_some()); //! assert_eq!(2, bucket.len_bucket(&[96_u8,96_u8]).unwrap()); -//! +//! //! ``` use arrayvec::{ArrayVec, CapacityError};