-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
Following #1778 (comment),
we need to investigate why Cow<*Ref> does not work.
One major issue is that Clone
is implemented on Ref
types.
formats/der/src/asn1/ia5_string.rs
Lines 37 to 40 in 217b6ef
#[derive(Copy, Clone, Eq, PartialEq, PartialOrd, Ord)] | |
pub struct Ia5StringRef<'a> { | |
/// Inner value | |
inner: StrRef<'a>, |
which collides with (if i remember correctly):
https://doc.rust-lang.org/std/borrow/trait.ToOwned.html#impl-ToOwned-for-T
Metadata
Metadata
Assignees
Labels
No labels