diff --git a/src/strings.rs b/src/strings.rs index f92188c..1c96229 100644 --- a/src/strings.rs +++ b/src/strings.rs @@ -185,6 +185,13 @@ impl AsRef for ShString { } } +impl AsMut for ShString { + #[inline] + fn as_mut(&mut self) -> &mut str { + self + } +} + impl borrow::Borrow for ShString { #[inline] fn borrow(&self) -> &str {