From 208574982440d610d70e9da50b8fa99069f02536 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 17 Oct 2024 21:27:27 -0400 Subject: [PATCH] fix tests --- p2p/p2p-core/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/p2p-core/src/types.rs b/p2p/p2p-core/src/types.rs index eef3cb8..4a9f238 100644 --- a/p2p/p2p-core/src/types.rs +++ b/p2p/p2p-core/src/types.rs @@ -42,7 +42,7 @@ impl AddressType { /// Convert [`Self`] to a [`u8`]. /// /// ```rust - /// use cuprate_p2p_core::AddressType as A; + /// use cuprate_p2p_core::types::AddressType as A; /// /// assert_eq!(A::Invalid.to_u8(), 0); /// assert_eq!(A::Ipv4.to_u8(), 1); @@ -60,7 +60,7 @@ impl AddressType { /// This returns [`None`] if `u > 4`. /// /// ```rust - /// use cuprate_p2p_core::AddressType as A; + /// use cuprate_p2p_core::types::AddressType as A; /// /// assert_eq!(A::from_u8(0), Some(A::Invalid)); /// assert_eq!(A::from_u8(1), Some(A::Ipv4));