atulkhare4096
1d3651fa59
Merge pull request #100 from kevinsoras/fix/rust-ownership-hft-example
...
fix(csharp-book): correct HighFrequencyTrader ownership example in markdown
2026-04-30 21:49:44 -07:00
atulkhare4096
ae8756c8a4
Merge pull request #101 from Dailiduzhou/fix/IteratorChainMaxLength
...
docs: fix incorrect max length in take_while example
2026-04-30 21:49:14 -07:00
Dailiduzhou
0eb79f7f03
docs: fix incorrect max length in take_while example
2026-04-29 11:03:18 +08:00
kevinsoras
c78c877900
fix(rust-patterns-book): fix ownership move in HFT Rust example
2026-04-27 23:58:11 -05:00
atulkhare4096
d3745a78b0
Merge pull request #98 from DaividFrank/daivid/issue-97
...
ch12-colsures: Correct partition example to deref n
2026-04-26 16:51:02 -07:00
atulkhare4096
cda4f61245
Merge pull request #99 from Dailiduzhou/fix/MissingEscapeCharacter
...
Fix escaping of special characters with backslashes
2026-04-26 16:50:13 -07:00
dailiduzhou
499a8fafb8
fix:add backslashes for escaping special characters
2026-04-26 19:17:22 +08:00
Daivid Frank
048bedc752
ch12-colsures: Correct partition example to deref n
...
Signed-off-by: Daivid Frank <daividfrank@microsoft.com >
2026-04-24 15:35:53 +02:00
atulkhare4096
b97167e23f
Merge pull request #95 from aido-mth/aido/fix_ffi_test
...
fix(ffi): fixed create simple logger implementation, removed duplicated word in comment
2026-04-23 14:12:45 -07:00
atulkhare4096
76184fbbec
Merge pull request #96 from Dailiduzhou/fix/DuplicateBackslash
...
fix(async-book): delete duplicate backslashes
2026-04-23 14:12:29 -07:00
dailiduzhou
82150dad7b
fix(async-book): delete duplicate backslashes
2026-04-23 16:09:13 +08:00
Uladzislau Borbut
6c1bbdf8c2
fix(ffi): fixed create simple logger implementation, removed duplicated word in comment
2026-04-21 16:59:21 +02:00
Atul Khare
a981878c66
Fix #91 : trait-variant does not add dyn dispatch support
2026-04-19 14:04:29 -07:00
atulkhare4096
ce61d773b5
Merge pull request #93 from elinus/main
...
docs: add Rust learning resource link (Binary Musings)
2026-04-19 13:55:22 -07:00
atulkhare4096
07d94b5abb
Merge pull request #94 from zamazan4ik/feature/pgo-improvements
...
Extend PGO section of the Rust Engineering practices
2026-04-19 13:54:31 -07:00
Alexander Zaitsev
f5ac82274f
feat: add more information about PGO
...
- add Futher reading section
- add cargo-pgo tool mention
- add LLVM BOLT information
- add information about Sampling PGO
- add link to Awesome PGO repo (including a lot of PGO benches)
2026-04-19 19:11:59 +02:00
Alexander Zaitsev
be490a9fcf
fix: move PGO to a dedicated section
2026-04-19 18:28:38 +02:00
Sunil Mourya
7698e2df1c
docs: add Rust learning resource link (Binary Musings)
2026-04-19 11:38:40 +05:30
Atul Khare
ce0354c4f6
Fix reported issues: hint mismatch, broken diagrams, chapter ordering
...
- async ch15: Fix exercise 4 hint to say Semaphore instead of mpsc
- python ch12: Fix broken Mermaid iterator chain diagram (quote edge labels)
- python ch14: Remove unnecessary escaped parens in Mermaid node label
- c-cpp ch16: Rename sub-chapter file so it sorts after parent in file listings
- c-cpp SUMMARY: Update sub-chapter title to reflect case studies 3-5
2026-04-11 09:19:00 -07:00
atulkhare4096
75d79e9696
Merge pull request #81 from narslan/typo-c-cpp-book-ch11
...
Fix and clarify From/Into tutorial example
2026-04-11 08:50:51 -07:00
atulkhare4096
7e5b37ab7d
Merge pull request #84 from Chandan-Kalita/patch-1
...
Fix log_call! macro example in "Rust for Python Programmers" (ch12 closures and iterators)
2026-04-11 08:49:05 -07:00
atulkhare4096
2d0daac396
Merge pull request #86 from PierreBhs/fix-c-cpp-book-typos
...
Fix typos in c-cpp-book markdown files
2026-04-11 08:48:30 -07:00
atulkhare4096
01433aaa1c
Merge pull request #87 from rodrirejala/fixErrors
...
Fix race condition in "The Waker Contract" example (Fixes #85 )
2026-04-11 08:47:33 -07:00
atulkhare4096
76958dd3e1
Merge pull request #88 from rodrirejala/fix-ch02
...
fix(ch02): enhance async diagram — add Reactor and OS layers (fixes #49 )
2026-04-11 08:46:20 -07:00
Rodrigo Rejala
bede90e01f
fix(ch02): enhance Future diagram with Reactor and OS
2026-04-11 12:03:08 -03:00
Rodrigo Rejala
60c50045c6
fix: handle race condition in Delay future waker (ch02)
2026-04-11 11:21:43 -03:00
pierre-louis boeshertz
1eca49aec5
Fix typos in c-cpp-book markdown files
2026-04-10 15:03:15 +02:00
Chandan Kalita
b6ee044f75
Fix log_call macro to properly log function calls
2026-04-08 22:56:52 +05:30
Nevroz Arslan
8b82ec984b
Improve wording in From/Into c-cpp-book
...
Clarify From/Into relationship in tutorial
Improve the wording around the `From` and `Into` relationship
in `ch11-from-and-into-traits.md`.
Also correct the commented alternate conversion example from
`(40.42)::into()` to `let p: Point = (40,42).into();`.
2026-04-07 14:06:23 +03:00
Atul Khare
158830e3b8
Fix formatting issue
2026-04-06 11:47:20 -07:00
Atul Khare
a1c354e26e
Update README links to GitHub Pages and fix serve display URL
...
- Point all book links to https://microsoft.github.io/RustTraining/
- Add local preview instructions with git clone, rustup, cargo xtask serve
- Show localhost:3000 in serve console message
2026-04-06 11:42:52 -07:00
Atul Khare
ad52034fe7
Trigger rebuild for README update
2026-04-06 11:07:35 -07:00
Atul Khare
2dcdeeec75
Retrigger Pages deployment
2026-04-06 11:01:29 -07:00
Atul Khare
409897a0b3
Skip mdbook install in CI when already cached
...
Use 'which' to check if the binary exists before running
cargo install, avoiding both install failures and unnecessary
recompilation on cache hits.
2026-04-06 10:44:32 -07:00
Atul Khare
affc180cd8
Add .nojekyll to repo root to disable Jekyll processing
...
The GitHub Pages source must be set to 'GitHub Actions' (not
'Deploy from a branch') in the repo settings. This file is a
safety net in case the setting is misconfigured.
2026-04-06 10:24:54 -07:00
Atul Khare
f1d2e5b0ef
Upgrade GitHub Actions to Node.js 24 compatible versions
...
- actions/checkout v4 → v6
- actions/configure-pages v5 → v6
- actions/cache v4 → v5
- actions/upload-pages-artifact v3 → v4
- actions/deploy-pages v4 → v5
Fixes Node.js 20 deprecation warning. Node.js 20 will be removed
from GitHub Actions runners on September 16, 2026.
2026-04-06 10:20:53 -07:00
Atul Khare
0642aadcb0
Add .nojekyll to site root to prevent Jekyll processing
...
GitHub Pages was running Jekyll on the raw markdown sources instead
of serving the pre-built mdbook output. Adding .nojekyll to the
output root disables Jekyll processing.
2026-04-06 10:18:37 -07:00
Atul Khare
9258adb9ff
Fix Mermaid diagrams: replace \n with <br/> for v10+ compatibility
...
Mermaid v10+ renders \n as literal text in node labels. Replace all
152 occurrences across 28 files with <br/> which produces proper
line breaks in the rendered diagrams.
2026-04-06 09:24:10 -07:00
Atul Khare
33768719fc
Add 'Clone the repo' section to README prerequisites
2026-04-06 09:24:05 -07:00
atulkhare4096
a0eb50c1ca
Merge pull request #65 from SyedaAnshrahGillani/improve/xtask-server-and-signals
...
improve(xtask): add mdbook check, fix directory redirects, and use safe signal handling
2026-04-05 15:12:51 -07:00
Atul Khare
024a3d6bb8
Fix async book issues
...
74: Add Pin<Box<Fut>> to remove requirement for Unpin. Box<T> has a blanket
implementation for Unpin
75: Remove soft-deprecated pin_mut! and replace with std::pin::pin!
76: Replace near-duplicated chapter 3 example with something different
2026-04-05 15:03:03 -07:00
atulkhare4096
a0228eb7d2
Merge pull request #73 from rongyi/patch-1
...
Update ch12-closures.md
2026-04-04 09:02:00 -07:00
atulkhare4096
34b07e9b6c
Merge pull request #75 from Ahbar1999/main
...
fix(rust-patterns-book): typo in ch10 in "See also" section
2026-04-04 09:01:13 -07:00
Ahbar1999
91adfd368a
[fixed] typo in ch10 referencing ch11
2026-04-04 07:08:09 +00:00
rongyi
ab6a913a5d
Update ch12-closures.md
...
there's no filter_and_map
2026-04-02 17:51:13 +08:00
atulkhare4096
b5411abd8b
Merge pull request #72 from ojob/main
...
Rust Patterns, ch01: ensure doctests are verifiable
2026-04-01 19:00:03 -07:00
atulkhare4096
c7164ef4a1
Merge pull request #71 from johanvx/fix/type-conversion-typo-in-c-cpp-book
...
fix(c-cpp-book): correct typo in type conversion example
2026-04-01 18:59:45 -07:00
Joël Bourgault
89ca504a08
fix(rust-patterns-book): handle corner case of ch01 exercise
...
The attribute may be 0, which is kinda weird but is still
allowed by the attribute type. This certainly is an unusable cache,
but fixing this is left as an exercise to the reader, who would then
go figure about the `NonZero` type wrappers.
2026-04-01 17:50:32 +02:00
Johan Xie
4f5cf1f3a7
fix(c-cpp-book): correct typo in type conversion example
...
The commented-out line attempting to narrow u32 to u8 was incorrectly
using `f.into()` instead of `g.into()`. Since `f` is already u8, that
conversion would trivially succeed. The example should demonstrate
narrowing `g` (u32) back to u8, which requires `try_into()` as shown at
the end of the block.
2026-04-01 23:47:24 +08:00
Joël Bourgault
bab2669e78
fix(rust-patterns-book): ensure rustdoc --test passes on ch01
...
Doctests may bear several attributes, that rustdoc uses to behave correctly:
- mark a doctest as not to be compiled,
- mark a doctest as expected to fail at compilation.
2026-04-01 17:46:42 +02:00