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

Improve RwLock::new's docs #21477

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
Collaborator

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
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

Successfully merging this pull request may close these issues.

RwLock Typo
6 participants