ImStr can implement Clone

This commit is contained in:
Joonas Javanainen 2015-08-26 11:47:47 +01:00
parent b14999b5a2
commit a62e6ac146

View File

@ -58,6 +58,7 @@ macro_rules! im_str {
})
}
#[derive(Clone)]
pub struct ImStr<'a> {
bytes: Cow<'a, [u8]>
}