diff --git a/src/core/adb.rs b/src/core/adb.rs index b281b01..ecb112c 100644 --- a/src/core/adb.rs +++ b/src/core/adb.rs @@ -270,8 +270,9 @@ pub const fn is_pkg_component(s: &[u8]) -> bool { #[derive(Debug, Deserialize, Serialize, Clone, PartialEq, Eq, Hash)] pub struct PackageId(Box); impl PackageId { - /// Creates a package-ID if it's valid according to - /// + /// Creates a package-ID if it's valid according to: + /// - + /// - pub fn new(p_id: Box) -> Option { let mut components = p_id.split('.'); for _ in 0..2 {