Skip to content

Commit

Permalink
Add clone
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGS committed Dec 10, 2024
1 parent ab369e9 commit a3491d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "inline-str"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
authors = ["Adam Gutglick <[email protected]>"]
description = "Efficent and immutable string type, backed by inline-array"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use std::{borrow::Cow, ops::Deref};

use inline_array::InlineArray;

#[derive(PartialEq, Eq, PartialOrd, Ord)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Clone)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct InlineStr {
inner: InlineArray,
Expand Down

0 comments on commit a3491d4

Please sign in to comment.