Uh oh!
There was an error while loading. Please reload this page.
Improve wording in documentation of MaybeUninit - #64837
Conversation
rust-highfive
commented
Sep 27, 2019
(rust_highfive has picked a reviewer for you, use r? to override) |
Centril
commented
Sep 27, 2019
This is not a typo. The use of "at" is intentional here. |
nliberg
commented
Sep 27, 2019
@Centril For what it's worth I dropped a quick question in the Rust chat about this, and I wasn't the only one to think the current sentence sounds strange. |
Centril
commented
Sep 27, 2019
"The variable has type ("at type X" is jargon from type theory. I don't think "as" is clearer but we can rewrite the sentence to not need it at all.) |
nliberg
commented
Sep 27, 2019
I see. I was not aware of that terminology - thanks for clarifying. I expect that to be true for most people who consult the documentation though. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Centril
commented
Sep 27, 2019
nliberg
commented
Sep 28, 2019
Thanks. That wording is indeed clearer. |
Centril
commented
Sep 28, 2019
:) Can you squash the commits and adjust the line wrapping as well? Should be good to go after that. |
This comment has been minimized.
This comment has been minimized.
nliberg
commented
Sep 28, 2019
Done. I hope it's ok now. |
Centril
commented
Sep 28, 2019
@bors r+ rollup |
bors
commented
Sep 28, 2019
📌 Commit fd505d7 has been approved by |
RalfJung
commented
Sep 28, 2019
Thanks, LGTM as well. :) |
Improve wording in documentation of MaybeUninit Changes > variables are properly initialized **at** their respective type into > variables are properly initialized **as** their respective type
Rollup of 10 pull requests Successful merges: - #64131 (data_structures: Add deterministic FxHashMap and FxHashSet wrappers) - #64387 (Fix redundant semicolon lint interaction with proc macro attributes) - #64678 (added more context for duplicate lang item errors (fixes#60561)) - #64763 (Add E0734 and its long explanation) - #64793 (Fix format macro expansions spans to be macro-generated) - #64837 (Improve wording in documentation of MaybeUninit) - #64852 (Print ParamTy span when accessing a field (#52082)) - #64875 (Upgrade async/await to "used" keywords.) - #64876 (Fix typo in intrinsics op safety) - #64880 (Slice docs: fix typo) Failed merges: r? @ghost
Changes
into