-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fixed a typo in ManuallyDrop
's doc
#141873
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
Conversation
Thanks for the PR, but this is likely intentional. "iff" is a common shorthand for "if and only if". This is a code block comment anyway, typos aren't very harmful. But thank you for the PR! More help is always welcome. |
Oops... that makes sense, my bad! |
Not a problem :) take a look at issues labeled E-easy if you are looking to get started with some Rust development https://github.com/rust-lang/rust/issues?q=is%3Aissue%20state%3Aopen%20label%3AE-easy, or drop by on Zulip https://rust-lang.zulipchat.com/ |
Woah thanks! I honestly wasn't expecting you to be as friendly, if everyone around here is like you, I might consider getting involved :) |
Someone made the exact same PR last week (#141416), so maybe un-shorthanding it is okay? This also seems like the only doc-comment containing |
Thanks for linking that, I'll just merge this then. As a note, we tend to avoid accepting tiny typo fix PRs because of problems we have had with bot commit farming. But the user has interacted here and apparently it's causing confusion, so might as well change it. Just try to include typo fixes with something slightly more substantial (e.g. like other doc improvements / clarification) next time :) "if" reads better than "if and only if" in the context anyway IMO. |
@bors r+ rollup |
Fixed a typo in `ManuallyDrop`'s doc I noticed a typo in `ManuallyDrop`'s documentation (someone wrote "iff" instead of "if"). I fixed it in this PR.
Fixed a typo in `ManuallyDrop`'s doc I noticed a typo in `ManuallyDrop`'s documentation (someone wrote "iff" instead of "if"). I fixed it in this PR.
Rollup of 8 pull requests Successful merges: - #140715 (Clarify &mut-methods' docs on sync::OnceLock) - #141677 (Async drop - type instead of async drop fn, fixes #140484) - #141741 (Overhaul `UsePath`) - #141873 (Fixed a typo in `ManuallyDrop`'s doc) - #141876 (Don't declare variables in `ExprKind::Let` in invalid positions) - #141886 (Add missing 2015 edition directives) - #141889 (Add missing `dyn` keywords to tests that do not test for them) - #141891 (Fix borrowck mentioning a name from an external macro we (deliberately) don't save) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #141873 - neeko-cat:patch-1, r=tgross35 Fixed a typo in `ManuallyDrop`'s doc I noticed a typo in `ManuallyDrop`'s documentation (someone wrote "iff" instead of "if"). I fixed it in this PR.
I noticed a typo in
ManuallyDrop
's documentation (someone wrote "iff" instead of "if"). I fixed it in this PR.