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

Once::doit impl duplicated in libsync docs #12801

Closed
sfackler opened this issue Mar 10, 2014 · 1 comment · Fixed by #12879
Closed

Once::doit impl duplicated in libsync docs #12801

sfackler opened this issue Mar 10, 2014 · 1 comment · Fixed by #12879
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@sfackler
Copy link
Member

See http://static.rust-lang.org/doc/master/sync/one/struct.Once.html

@Aatch
Copy link
Contributor

Aatch commented Mar 14, 2014

Also for all the types in mutex seems, to be related to exports. I think it's not handling the fact that sync::sync::one and sync::sync::mutex are declared as public, but are inside a private module, and then are re-exported.

cc @cmr

@bors bors closed this as completed in 7532d20 Mar 19, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue May 30, 2024
add parentheses to [`let_and_return`]'s suggestion

closes: rust-lang#12801

---

changelog: suggest adding parentheses when linting [`let_and_return`] and [`needless_return`]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants