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
It has fn new(), so there should be no problem for Default.
fn new()
Default
See also: https://github.com/Manishearth/rust-clippy/issues/705
The text was updated successfully, but these errors were encountered:
I'm going to hijack this issue and add missing Default impls for Mutex<T> and RwLock<T> where T: Default.
Mutex<T>
RwLock<T>
T: Default
I'll have a PR ready shortly.
Sorry, something went wrong.
Fixed by #32785.
No branches or pull requests
It has
fn new()
, so there should be no problem forDefault
.See also: https://github.com/Manishearth/rust-clippy/issues/705
The text was updated successfully, but these errors were encountered: