Skip to content

Commit

Permalink
Tiny changes in examples/any_generics/src/main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
greyblake committed Jun 1, 2024
1 parent b0ed3e2 commit 2cf0376
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions examples/any_generics/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,23 @@ struct NotEmpty<T>(Vec<T>);
Debug,
Display,
Clone,
// Copy,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash,
// TODO
// AsRef,
// FromStr,
Into,
From,
Deref,
Borrow,
// TODO
// AsRef,
// FromStr,
// TryFrom,
// Default,
// SerdeSerialize,
// SerdeDeserialize,
// ArbitraryArbitrary,
// Serialize,
// Deserialize,
// Arbitrary,
))]
struct Clarabelle<'b>(Cow<'b, str>);

Expand Down

0 comments on commit 2cf0376

Please sign in to comment.