Skip to content

Commit a3491d4

Browse files
committed
Add clone
1 parent ab369e9 commit a3491d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "inline-str"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
edition = "2021"
55
authors = ["Adam Gutglick <[email protected]>"]
66
description = "Efficent and immutable string type, backed by inline-array"

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)