From eea70016516649661870b21c158c5bfdcfae4cda Mon Sep 17 00:00:00 2001 From: SyntheticBird45 Date: Sat, 2 Nov 2024 00:27:03 +0100 Subject: [PATCH] fix fmt --- p2p/bucket/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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};