We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An optimized Zeroize<Z> impl exists for slices where Z: DefaultIsZeros.
Zeroize<Z>
Z: DefaultIsZeros
It would be nice if custom derive could leverage it by obtaining a mutable slice of a field, e.g. via the AsMut trait:
AsMut
#[zeroize(as_mut)] field: Vec<u8>,
The text was updated successfully, but these errors were encountered:
[Z; N]
[Z]
Vec<Z>
Box<[Z]>
No branches or pull requests
An optimized
Zeroize<Z>
impl exists for slices whereZ: DefaultIsZeros
.It would be nice if custom derive could leverage it by obtaining a mutable slice of a field, e.g. via the
AsMut
trait:The text was updated successfully, but these errors were encountered: