Skip to content
New issue

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

Missing Default for std::sync::Condvar #31865

Closed
vi opened this issue Feb 24, 2016 · 2 comments
Closed

Missing Default for std::sync::Condvar #31865

vi opened this issue Feb 24, 2016 · 2 comments

Comments

@vi
Copy link
Contributor

vi commented Feb 24, 2016

It has fn new(), so there should be no problem for Default.

See also: https://github.com/Manishearth/rust-clippy/issues/705

@llogiq
Copy link
Contributor

llogiq commented Apr 7, 2016

I'm going to hijack this issue and add missing Default impls for Mutex<T> and RwLock<T> where T: Default.

I'll have a PR ready shortly.

@tbu-
Copy link
Contributor

tbu- commented Apr 16, 2016

Fixed by #32785.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants