Commit Graph

450 Commits (91044a66c8342ce3a85ebf5bc3f6811a39843990)

Author SHA1 Message Date
Arhan Chaudhary d1c6b95dcb
Merge branch 'master' into revert-trivial-wording
5 months ago
Perman 818486503a Fix typo in exception-safety.md (BinaryHeap::sift_up, user-defined and unsafe code separated)
5 months ago
sify21 7952ab776b
Update ffi.md
6 months ago
Noah Snelson 1a79ab1920
Add "C" ABI to FFI example
7 months ago
Arhan Chaudhary 3c17036782
review comment: dropck analysis is *not* trivial
8 months ago
Yuki Okushi aad0fd9046
Apply suggestions from code review
9 months ago
RoggeOhta ed039e48fe Fix space character problem
9 months ago
RoggeOhta 6be1fec00c Add build script part to FFI chapter for more clear and smooth learn experience
9 months ago
Yuki Okushi 24cb15d53b
Merge pull request #443 from ratmice/split_borrows_tree_example
9 months ago
matt rice 7aaad539e2 Cleanups for tree example of splitting borrows
9 months ago
Yuki Okushi 625d9de680 Update src/vec/vec-zsts.md
9 months ago
pwbh cbe78036f2 Update src/vec/vec-zsts.md
9 months ago
pwbh a85100bb99 remove comma
9 months ago
pwbh 761293eb43 remove duplication
9 months ago
pwbh 50d4aa6362 Revert "remove duplicate of a sentence"
9 months ago
pwbh e629930522 remove duplicate of a sentence
9 months ago
pwbh 6edd32bd97 Added text related to handling dropping in raw vec for ZSTs
9 months ago
Yuki Okushi 8b61acfaea
Merge pull request #492 from senekor/senekor-oupvrwkspumq
10 months ago
Yuki Okushi 0a000d437f
Merge pull request #491 from senekor/senekor-qslukqomvpom
10 months ago
Yuki Okushi dd31c8d397
Merge pull request #493 from senekor/senekor-rrqpxsznswmt
10 months ago
Remo Senekowitsch f883193311
Fix typo in atomics.md
10 months ago
Remo Senekowitsch b4c85a9d36
Use consistent type parameters in subtyping.md
10 months ago
Remo Senekowitsch 6f01103dbe
Use inline const expression in unchecked-uninit.md
10 months ago
Remo Senekowitsch 0733990409
Fix code sample output in unchecked-uninit.md
10 months ago
Travis Cross c76a20f0d9
Merge pull request #467 from mattheww/2024-10_zst_nullptr
11 months ago
Mats Jun Larsen 891932e3da
Remove double wording in opaque type chapter
12 months ago
Bennet Bleßmann 57bbc12176
remove `rust-intrinsic` ABI
12 months ago
printfn 60ed8f3bb9 Update to 2024 edition
1 year ago
Eric Huss 8f5c7322b6
Merge pull request #461 from RalfJung/repr-int-enum-abi
1 year ago
Yuki Okushi 336f75835a
Merge pull request #452 from pczarn/patch-1
1 year ago
Peter Blackson 7f59f3ffb3 Improve grammar in exotic-sizes
1 year ago
Yuki Okushi 1f3f7c4884
Merge pull request #460 from luqmana/repr-packed-n
1 year ago
Thiago Trannin 38f5394280 Use `()` instead of `[u8; 0]` in opaque type
1 year ago
Freddie 23cbc7d579 corrected grammatical error.
1 year ago
Eric Huss 3253190a90
Apply suggestion from RalfJung
1 year ago
Eric Huss 3de1d4efa4 Remove `#![start]` attribute
1 year ago
nikthechampiongr 470f2bfa52 Update guidance on uninitialized fields to use &raw mut instead of addr_of_mut!
1 year ago
Max Heller 0aae1972ff
Fix accidental inline HTML
1 year ago
Joseph C. Sible da27ec1906
Fix URL fragment to MutexGuard's negative impl of Send
1 year ago
Martin Nordholts 6855d3a7e1 races.md: data race -> race condition to violate memory safety
1 year ago
Yuki Okushi 0674321898
Merge pull request #468 from andersk/races-mostly
1 year ago
Tim McCormack 91a7128bb3
Fix typo in what-unsafe-does
1 year ago
Anders Kaseorg bb6b27ad1d races: Clarify a “mostly” that might be misread
1 year ago
Matthew Woodcraft db1fac783b Zero Sized Types: stop saying that "dereferencing" a non-ZST is UB
1 year ago
Matthew Woodcraft 2d896fa29e Say that dereferencing a pointer to a ZST is no longer undefined
1 year ago
Gurinder Singh f2ea02892a
Improve/fix description of drops
1 year ago
Luqman Aden 6120f45d99 Add details for n!=1 repr(packed)
2 years ago
Ralf Jung 33dd3a5fa4 other-reprs: do not make it sound like we are making ABI promises for repr(int) enums
2 years ago
Guillaume Boisseau d5ba0cb399 Stabilize `min_exhaustive_patterns`
2 years ago
Ralf Jung 16d2f21dae repr(int) enums: both size and sign matter
2 years ago