You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree with Clone, and would be happy to take a PR that adds #[derive(Copy, Clone)].
Not sure about PartialEq though. Semantically, a Markup object represents an HTML fragment, so it would also make sense to compare parse trees instead (e.g. PreEscaped("<br>") == PreEscaped("<br >")). Best to avoid this ambiguity and not implement the comparison traits.
Should be possible since it's just a string. Are there any reasons not to derive those traits?
The text was updated successfully, but these errors were encountered: