We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Sized
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The blanket implementations of CanonicalSerialize and CanonicalDeserialize have an implicit bound T: Sized
CanonicalSerialize
CanonicalDeserialize
T: Sized
As a result, Cow<'a, [T]> (for example) does not implement those traits even if T does.
Cow<'a, [T]>
T
The bound may be relaxed to address this case:
impl<'a, T: ?Sized + CanonicalSerialize + ToOwned> CanonicalSerialize for Cow<'a, T> { // }
The same can apply to Rc<T> and Arc<T>.
Rc<T>
Arc<T>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The blanket implementations of
CanonicalSerialize
andCanonicalDeserialize
have an implicit boundT: Sized
As a result,
Cow<'a, [T]>
(for example) does not implement those traits even ifT
does.The bound may be relaxed to address this case:
The same can apply to
Rc<T>
andArc<T>
.The text was updated successfully, but these errors were encountered: