Skip to content

Improve RwLock::new's docs #21477

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 23, 2015
Merged

Improve RwLock::new's docs #21477

merged 1 commit into from
Jan 23, 2015

Conversation

steveklabnik
Copy link
Member

Fixes #21440"

@rust-highfive
Copy link
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ bbbdd10 rollup

@alexcrichton alexcrichton assigned alexcrichton and unassigned huonw Jan 21, 2015
@XMPPwocky
Copy link
Contributor

Is there any way to create a RefCell that starts out locked? Seems unnecessary to specify that.

@steveklabnik
Copy link
Member Author

Explicit is better than implicit, even if there isn't an alternate constructor.

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jan 22, 2015
bors added a commit that referenced this pull request Jan 23, 2015
@bors bors merged commit bbbdd10 into rust-lang:master Jan 23, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RwLock Typo
6 participants