[pve-devel] [PATCH 03/12] common: utils: add dependency for doc test
Aaron Lauterer
a.lauterer at proxmox.com
Wed Oct 25 18:00:02 CEST 2023
Was probably missed because it used to be in a binary crate where doc
tests aren't run automatically.
Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
proxmox-installer-common/src/utils.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/proxmox-installer-common/src/utils.rs b/proxmox-installer-common/src/utils.rs
index 89349ed..c038524 100644
--- a/proxmox-installer-common/src/utils.rs
+++ b/proxmox-installer-common/src/utils.rs
@@ -27,6 +27,7 @@ pub enum CidrAddressParseError {
/// # Examples
/// ```
/// use std::net::{Ipv4Addr, Ipv6Addr};
+/// use proxmox_installer_common::utils::CidrAddress;
/// let ipv4 = CidrAddress::new(Ipv4Addr::new(192, 168, 0, 1), 24).unwrap();
/// let ipv6 = CidrAddress::new(Ipv6Addr::new(0x2001, 0xdb8, 0, 0, 0, 0, 0xc0a8, 1), 32).unwrap();
///
--
2.39.2
More information about the pve-devel
mailing list