Skip to content

Commit 5e6a31c

Browse files
committed
Add clone
1 parent ab369e9 commit 5e6a31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use std::{borrow::Cow, ops::Deref};
1717

1818
use inline_array::InlineArray;
1919

20-
#[derive(PartialEq, Eq, PartialOrd, Ord)]
20+
#[derive(PartialEq, Eq, PartialOrd, Ord, Clone)]
2121
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
2222
pub struct InlineStr {
2323
inner: InlineArray,

0 commit comments

Comments
 (0)