Yuki Okushi
60f0b30d8e
Merge pull request #504 from permannur/exception-safety-binary-heap
...
Fix typo in exception-safety.md (BinaryHeap::sift_up, user-defined and unsafe code separated)
2 weeks ago
Perman
818486503a
Fix typo in exception-safety.md (BinaryHeap::sift_up, user-defined and unsafe code separated)
3 weeks ago
Yuki Okushi
23fc2682f8
Merge pull request #502 from sify21/patch-1
...
a typo in ffi.md
1 month ago
sify21
7952ab776b
Update ffi.md
...
a typo in ffi.md
1 month ago
Eric Huss
f17a018b99
Merge pull request #501 from peeley/patch-1
...
Add missing "C" ABI to FFI example code
2 months ago
Noah Snelson
1a79ab1920
Add "C" ABI to FFI example
2 months ago
Eric Huss
57ed447366
Merge pull request #500 from HollowMan6/master
...
Fix unknown field `author` error when building the book
3 months ago
Hollow Man
78b10ca040
Fix unknown field `author` error when building the book
...
using mdbook in main (v0.5.x)
```log
2025-08-18 19:56:41 [ERROR] (mdbook_core::utils): Error: Invalid configuration file
2025-08-18 19:56:41 [ERROR] (mdbook_core::utils): Caused By: TOML parse error at line 2, column 1
|
2 | author = "The Rust Project Developers"
| ^^^^^^
unknown field `author`, expected one of `title`, `authors`, `description`, `src`, `language`, `text-direction`
```
Signed-off-by: Hollow Man <hollowman@opensuse.org>
3 months ago
Yuki Okushi
3ff3843205
Merge pull request #440 from RoggeOhta/master
...
Add build script part to FFI chapter for more clear and smooth learn …
4 months ago
Yuki Okushi
aad0fd9046
Apply suggestions from code review
4 months ago
RoggeOhta
ed039e48fe
Fix space character problem
4 months ago
RoggeOhta
6be1fec00c
Add build script part to FFI chapter for more clear and smooth learn experience
4 months ago
Yuki Okushi
24cb15d53b
Merge pull request #443 from ratmice/split_borrows_tree_example
...
Cleanups for tree example of splitting borrows
4 months ago
matt rice
7aaad539e2
Cleanups for tree example of splitting borrows
4 months ago
Yuki Okushi
d94b31e163
Merge pull request #425 from pwbh/handle-drop-zst
...
Handle drop zst
4 months ago
Yuki Okushi
625d9de680
Update src/vec/vec-zsts.md
4 months ago
pwbh
cbe78036f2
Update src/vec/vec-zsts.md
...
Co-authored-by: Jon Bauman <baumanj@users.noreply.github.com>
4 months ago
pwbh
a85100bb99
remove comma
4 months ago
pwbh
761293eb43
remove duplication
4 months ago
pwbh
50d4aa6362
Revert "remove duplicate of a sentence"
...
This reverts commit c50c194f23 .
4 months ago
pwbh
e629930522
remove duplicate of a sentence
4 months ago
pwbh
6edd32bd97
Added text related to handling dropping in raw vec for ZSTs
4 months ago
Yuki Okushi
8b61acfaea
Merge pull request #492 from senekor/senekor-oupvrwkspumq
...
Use inline const expression in unchecked-uninit.md
5 months ago
Yuki Okushi
0a000d437f
Merge pull request #491 from senekor/senekor-qslukqomvpom
...
Fix code sample output in unchecked-uninit.md
5 months ago
Yuki Okushi
dd31c8d397
Merge pull request #493 from senekor/senekor-rrqpxsznswmt
...
Use consistent type parameters in subtyping.md
5 months ago
Eric Huss
85fe8925db
Merge pull request #494 from senekor/patch-1
...
Fix typo in atomics.md
6 months ago
Remo Senekowitsch
f883193311
Fix typo in atomics.md
6 months ago
Remo Senekowitsch
b4c85a9d36
Use consistent type parameters in subtyping.md
...
There is no type parameter `T` in this context, so no reason to use `U`
instead of `T` for disambiguation.
6 months ago
Remo Senekowitsch
6f01103dbe
Use inline const expression in unchecked-uninit.md
...
Inline const expressions were stabilized in Rust 1.79. They allow us to
avoid the unsafe call to MaybeUninit::assume_init() and its explanation.
https://blog.rust-lang.org/2024/06/13/Rust-1.79.0/#inline-const-expressions
6 months ago
Remo Senekowitsch
0733990409
Fix code sample output in unchecked-uninit.md
...
`dbg!()` prints to stderr, which I assume is the reason there is no
visible output when running the example in the book. By using
`println!()` instead, the output becomes visible.
6 months ago
Travis Cross
c76a20f0d9
Merge pull request #467 from mattheww/2024-10_zst_nullptr
...
Say that dereferencing a pointer to a ZST is no longer undefined
7 months ago
Eric Huss
0c10c30cc5
Merge pull request #487 from junlarsen/jun/fix-double-wording
...
Remove double wording in opaque type chapter
7 months ago
Mats Jun Larsen
891932e3da
Remove double wording in opaque type chapter
...
Fixes up some word soup I came across reading the chapter.
7 months ago
Eric Huss
5eb3cbdce3
Merge pull request #485 from Skgland/master
...
remove `rust-intrinsic` ABI
7 months ago
Bennet Bleßmann
57bbc12176
remove `rust-intrinsic` ABI
7 months ago
Yuki Okushi
b4448fa406
Merge pull request #481 from printfn/2024-edition
...
Update to 2024 edition
8 months ago
printfn
60ed8f3bb9
Update to 2024 edition
8 months ago
Eric Huss
8f5c7322b6
Merge pull request #461 from RalfJung/repr-int-enum-abi
...
other-reprs: do not make it sound like we are making ABI promises for repr(int) enums
9 months ago
Yuki Okushi
336f75835a
Merge pull request #452 from pczarn/patch-1
...
Improve grammar in exotic-sizes
9 months ago
Peter Blackson
7f59f3ffb3
Improve grammar in exotic-sizes
9 months ago
Yuki Okushi
1f3f7c4884
Merge pull request #460 from luqmana/repr-packed-n
...
other-reprs: Add details for n!=1 repr(packed)
9 months ago
Yuki Okushi
75eb897f1b
Merge pull request #456 from thinety/unit-in-opaque-type
...
Use `()` instead of `[u8; 0]` in opaque type
9 months ago
Thiago Trannin
38f5394280
Use `()` instead of `[u8; 0]` in opaque type
9 months ago
Eric Huss
bc22988655
Merge pull request #477 from wickedjargon/master
...
corrected grammatical error.
10 months ago
Freddie
23cbc7d579
corrected grammatical error.
10 months ago
Eric Huss
e031105510
Merge pull request #478 from ehuss/fix-start
...
Remove `#![start]` attribute
10 months ago
Eric Huss
3253190a90
Apply suggestion from RalfJung
...
Co-authored-by: Ralf Jung <post@ralfj.de>
10 months ago
Eric Huss
3de1d4efa4
Remove `#![start]` attribute
...
The `#![start]` attribute has been removed in
https://github.com/rust-lang/rust/pull/134299 .
10 months ago
Eric Huss
d2c1d5cf8a
Merge pull request #476 from nikthechampiongr/raw_ref
...
Update guidance on uninitialized fields to use &raw mut instead of addr_of_mut!
10 months ago
nikthechampiongr
470f2bfa52
Update guidance on uninitialized fields to use &raw mut instead of addr_of_mut!
10 months ago