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

Rollup of 8 pull requests #123143

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
59a3a5d
Clarify atomic bit validity
joshlf Mar 3, 2024
db34b08
Clarify bit validity for AtomicBool
joshlf Mar 3, 2024
00d21c9
Document AtomicPtr bit validity
joshlf Mar 3, 2024
fba87f6
Use "size and alignment" rather than layout
joshlf Mar 3, 2024
c50804c
Update library/core/src/sync/atomic.rs
joshlf Mar 3, 2024
a6e3e02
Update library/core/src/sync/atomic.rs
joshlf Mar 3, 2024
083ee83
Add invariant to VecDeque::pop_* that len < cap if pop successful
Philippe-Cholet Mar 26, 2024
804c047
Load missing type of impl associated constant from trait definition
oli-obk Mar 27, 2024
d0eb9c8
move type inference for missing types on constants into its own method
oli-obk Mar 27, 2024
7786ee3
Remove a call-site to `primary_body_of` as it is only interested in t…
oli-obk Mar 27, 2024
86e750f
Inline `primary_body_of` into its sole call site
oli-obk Mar 27, 2024
0cd9708
Delegation: fix ICE on wrong instantiation
Bryanskiy Mar 26, 2024
3157114
chore: fix some comments
xiaoxiangxianzi Mar 27, 2024
cc4a1f4
Some wording improvement
Vagelis-Prokopiou Mar 27, 2024
336ff42
`num::NonZero::get` can be 1 transmute instead of 3
scottmcm Mar 27, 2024
df4eec8
Let nils know about changes to target docs
Noratrieb Mar 27, 2024
307ebfd
Rollup merge of #121943 - joshlf:patch-11, r=scottmcm
matthiaskrgr Mar 27, 2024
8322a3b
Rollup merge of #123089 - Philippe-Cholet:vecdeque_pop_assume_cap, r=…
matthiaskrgr Mar 27, 2024
8427c80
Rollup merge of #123101 - Bryanskiy:delegation-fixes-2, r=petrochenkov
matthiaskrgr Mar 27, 2024
3a8cacb
Rollup merge of #123130 - oli-obk:missing_type_taint, r=compiler-errors
matthiaskrgr Mar 27, 2024
abe937a
Rollup merge of #123133 - xiaoxiangxianzi:master, r=fmease
matthiaskrgr Mar 27, 2024
fced740
Rollup merge of #123136 - Vagelis-Prokopiou:fix/docs, r=ChrisDenton
matthiaskrgr Mar 27, 2024
f53f843
Rollup merge of #123139 - scottmcm:simpler-nonzero-get, r=jhpratt
matthiaskrgr Mar 27, 2024
98fa10e
Rollup merge of #123142 - Nilstrieb:nils-knows-whats-happening, r=com…
matthiaskrgr Mar 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Document AtomicPtr bit validity
  • Loading branch information
joshlf authored Mar 3, 2024
commit 00d21c91f0cafc97dabe261f934af7ea0df089b4
2 changes: 1 addition & 1 deletion library/core/src/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ unsafe impl Sync for AtomicBool {}

/// A raw pointer type which can be safely shared between threads.
///
/// This type has the same in-memory representation as a `*mut T`.
/// This type has the same memory layout and bit validity as a `*mut T`.
///
/// **Note**: This type is only available on platforms that support atomic
/// loads and stores of pointers. Its size depends on the target pointer's size.
Expand Down
Loading