diff --git a/pkstrings/src/lib.rs b/pkstrings/src/lib.rs index 059694e..ef14f2d 100644 --- a/pkstrings/src/lib.rs +++ b/pkstrings/src/lib.rs @@ -102,6 +102,12 @@ impl fmt::Display for Error { #[derive(Debug, Clone, Eq, PartialEq)] pub struct PKString(String); +impl PKString { + pub fn into_string(self) -> String { + self.0 + } +} + impl Deref for PKString { type Target = String;