-
Notifications
You must be signed in to change notification settings - Fork 268
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 the PhantomData
table
#417
Merged
JohnTitor
merged 3 commits into
rust-lang:master
from
danielhenrymantilla:phantomdata-table
Dec 10, 2023
Merged
Improve the PhantomData
table
#417
JohnTitor
merged 3 commits into
rust-lang:master
from
danielhenrymantilla:phantomdata-table
Dec 10, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- simplify and clarify the auto-traits (_c.f._, rust-lang#411) - No more `-` in the auto-traits part - move `dropck` to its own dedicated column - Name the `'a` and `T` columns with "variance" - Emphasize the `cov` _vs._ `inv` _vs._ `contra` distinctions - Add a mention to the `PhantomPinned` type.
by properly scoping it to dropck shenanigans
JohnTitor
approved these changes
Dec 10, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this pull request
Dec 19, 2023
Update books ## rust-lang/edition-guide 2 commits in 34fca48ed284525b2f124bf93c51af36d6685492..bbffb074e16bef89772818b400b6c76a65eac126 2023-12-11 18:46:08 UTC to 2023-12-06 21:38:11 UTC - Update links and text about rustfix. (rust-lang/edition-guide#287) - Add C-string literals. (rust-lang/edition-guide#286) ## rust-embedded/book 1 commits in 22bca3d0f6e9b9b556689b54ce96f25b46ecd1b3..3f9df2b9885c6741365da2e12ed6662cd0e827d6 2023-12-11 21:22:20 UTC to 2023-12-11 21:22:20 UTC - rust-lang#363 (rust-embedded/book#364) ## rust-lang/nomicon 2 commits in 83d015105e6d490fc30d6c95da1e56152a50e228..f6bd083c4ccfc4ce6699b8b4154e3c45c5a27a8c 2023-12-10 03:19:24 UTC to 2023-12-10 03:18:32 UTC - Minor improvements to Vec (rust-lang/nomicon#415) - Improve the `PhantomData` table (rust-lang/nomicon#417) ## rust-lang/reference 1 commits in 692d216f5a1151e8852ddb308ba64040e634c876..f9f5b5babd95515e7028c32d6ca4d9790f64c146 2023-12-10 16:16:17 UTC to 2023-12-10 16:16:17 UTC - Document object unsafety of async-fn-in-trait (rust-lang/reference#1435) ## rust-lang/rust-by-example 11 commits in da0a06aada31a324ae84a9eaee344f6a944b9683..4c2b24ff9d9cf19f2fcff799a3a49b9a2c50ae8e 2023-12-18 13:02:23 UTC to 2023-12-10 12:10:43 UTC - nested destructure example for structs (rust-lang/rust-by-example#1787) - Make example in pipe.md compatible with both Windows and Unix-type system with less code (rust-lang/rust-by-example#1780) - Add i18n support (rust-lang/rust-by-example#1760) - Add pub keyword before mod bar definition in doc.md (rust-lang/rust-by-example#1785) - Update address and title of github source of rust playground in playground.md (rust-lang/rust-by-example#1784) - Update example in ffi.md to make it compatible with both Windows OS and Unit-type systems (rust-lang/rust-by-example#1781) - Update the path of html_playground_url in playground.md (rust-lang/rust-by-example#1783) - Update unit_testing.md ignore running the last example because it's test (rust-lang/rust-by-example#1782) - Update example in fs.md and use target_family instead of target_os (rust-lang/rust-by-example#1779) - Update the example in pipe.md to make it compatible with both Windows OS and Unix-type systems (rust-lang/rust-by-example#1778) - Update the example in fs.md to ensure compatibility with both Window and Unix-type systems. (rust-lang/rust-by-example#1777) ## rust-lang/rustc-dev-guide 7 commits in 904bb5aa7b21adad58ffae610e2830c7b0f813b0..0610665a8687b1b0aa037917a1598b9f2a21e3ef 2023-12-17 17:21:38 UTC to 2023-12-05 16:40:26 UTC - add a mailmap (rust-lang/rustc-dev-guide#1839) - Move Editions chapter to "Contributing to Rust". (rust-lang/rustc-dev-guide#1838) - Remove feature edition fields. (rust-lang/rustc-dev-guide#1836) - Add a chapter on editions. (rust-lang/rustc-dev-guide#1835) - Remove mentions of plugin lints (rust-lang/rustc-dev-guide#1833) - Fix typo of unused_parens (rust-lang/rustc-dev-guide#1832) - Replace experts map with reviewers from triagebot (rust-lang/rustc-dev-guide#1831)
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Dec 19, 2023
Rollup merge of rust-lang#119087 - rustbot:docs-update, r=ehuss Update books ## rust-lang/edition-guide 2 commits in 34fca48ed284525b2f124bf93c51af36d6685492..bbffb074e16bef89772818b400b6c76a65eac126 2023-12-11 18:46:08 UTC to 2023-12-06 21:38:11 UTC - Update links and text about rustfix. (rust-lang/edition-guide#287) - Add C-string literals. (rust-lang/edition-guide#286) ## rust-embedded/book 1 commits in 22bca3d0f6e9b9b556689b54ce96f25b46ecd1b3..3f9df2b9885c6741365da2e12ed6662cd0e827d6 2023-12-11 21:22:20 UTC to 2023-12-11 21:22:20 UTC - rust-lang#363 (rust-embedded/book#364) ## rust-lang/nomicon 2 commits in 83d015105e6d490fc30d6c95da1e56152a50e228..f6bd083c4ccfc4ce6699b8b4154e3c45c5a27a8c 2023-12-10 03:19:24 UTC to 2023-12-10 03:18:32 UTC - Minor improvements to Vec (rust-lang/nomicon#415) - Improve the `PhantomData` table (rust-lang/nomicon#417) ## rust-lang/reference 1 commits in 692d216f5a1151e8852ddb308ba64040e634c876..f9f5b5babd95515e7028c32d6ca4d9790f64c146 2023-12-10 16:16:17 UTC to 2023-12-10 16:16:17 UTC - Document object unsafety of async-fn-in-trait (rust-lang/reference#1435) ## rust-lang/rust-by-example 11 commits in da0a06aada31a324ae84a9eaee344f6a944b9683..4c2b24ff9d9cf19f2fcff799a3a49b9a2c50ae8e 2023-12-18 13:02:23 UTC to 2023-12-10 12:10:43 UTC - nested destructure example for structs (rust-lang/rust-by-example#1787) - Make example in pipe.md compatible with both Windows and Unix-type system with less code (rust-lang/rust-by-example#1780) - Add i18n support (rust-lang/rust-by-example#1760) - Add pub keyword before mod bar definition in doc.md (rust-lang/rust-by-example#1785) - Update address and title of github source of rust playground in playground.md (rust-lang/rust-by-example#1784) - Update example in ffi.md to make it compatible with both Windows OS and Unit-type systems (rust-lang/rust-by-example#1781) - Update the path of html_playground_url in playground.md (rust-lang/rust-by-example#1783) - Update unit_testing.md ignore running the last example because it's test (rust-lang/rust-by-example#1782) - Update example in fs.md and use target_family instead of target_os (rust-lang/rust-by-example#1779) - Update the example in pipe.md to make it compatible with both Windows OS and Unix-type systems (rust-lang/rust-by-example#1778) - Update the example in fs.md to ensure compatibility with both Window and Unix-type systems. (rust-lang/rust-by-example#1777) ## rust-lang/rustc-dev-guide 7 commits in 904bb5aa7b21adad58ffae610e2830c7b0f813b0..0610665a8687b1b0aa037917a1598b9f2a21e3ef 2023-12-17 17:21:38 UTC to 2023-12-05 16:40:26 UTC - add a mailmap (rust-lang/rustc-dev-guide#1839) - Move Editions chapter to "Contributing to Rust". (rust-lang/rustc-dev-guide#1838) - Remove feature edition fields. (rust-lang/rustc-dev-guide#1836) - Add a chapter on editions. (rust-lang/rustc-dev-guide#1835) - Remove mentions of plugin lints (rust-lang/rustc-dev-guide#1833) - Fix typo of unused_parens (rust-lang/rustc-dev-guide#1832) - Replace experts map with reviewers from triagebot (rust-lang/rustc-dev-guide#1831)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Send
andSync
columns #411)-
in the auto-traits partdropck
to its own dedicated column'a
andT
columns with "variance"cov
vs.inv
vs.contra
distinctionsPhantomPinned
type.Rendered
Preview of the diff (as of the first commit):