Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
1fd1fe6
convert to box using From
dcechano Jan 10, 2025
33267e2
Update phantom.md
skaunov Jan 17, 2025
c031685
Update enum_use.md
cheater Sep 22, 2025
94a7e3b
Remove weird extra spaces in code
tyilo Sep 30, 2025
27a70b5
Include a link to The Rust Reference in flow_control/match/destructuring
Nylme Oct 2, 2025
4fb790d
Add an example showing pattern binding when matching several values i…
T3JA50180 Oct 8, 2025
cf2da26
Fix typo in linked list length calculation comment
chrisimcevoy Oct 18, 2025
6c4a373
Merge pull request #1968 from chrisimcevoy/patch-1
marioidival Oct 22, 2025
639e3c1
Merge pull request #1966 from T3JA50180/improvement/update-match-binding
marioidival Oct 22, 2025
1514bf0
Merge pull request #1963 from Nylme/master
marioidival Oct 22, 2025
271f472
Merge pull request #1962 from tyilo/fix-formatting
marioidival Oct 22, 2025
3256791
Merge pull request #1960 from cheater/patch-1
marioidival Oct 22, 2025
ae88a08
add clarification on overflowing_literals lint
moseswynn Oct 30, 2025
cf2015e
Fix typos in flow_control/match/binding
rivea0 Nov 2, 2025
8c7d8b1
Merge pull request #1970 from moseswynn/overflowing-literals-clarific…
marioidival Nov 3, 2025
160e6bb
Merge pull request #1971 from rivea0/fix-typos-in-binding
marioidival Nov 3, 2025
5dc070e
Revise `Path` type documentation for clarity
marktech0813 Nov 4, 2025
9ff7027
Fix- Spanish translation doesn't work #1965
marktech0813 Nov 4, 2025
f944161
Merge pull request #1972 from marktech0813/master
marioidival Nov 5, 2025
7c82b89
Update documentation for `any` function in iter_any.md
Mctursh Nov 13, 2025
442715c
make search less surprising
tshepang Nov 17, 2025
a29d45a
enum_use.md: avoid an uncommon term
tshepang Nov 17, 2025
9bfb8e3
Merge pull request #1973 from Mctursh/docs-clarify-`SelfItem`-behavio…
marioidival Nov 20, 2025
c2ec096
Merge pull request #1975 from tshepang/patch-2
marioidival Nov 25, 2025
b656f3c
Merge pull request #1976 from tshepang/patch-3
marioidival Nov 25, 2025
6559e0d
Merge pull request #1909 from skaunov/patch-1
marioidival Nov 27, 2025
111cfae
Merge pull request #1906 from dcechano/Box-errors-change
marioidival Nov 27, 2025
c581d80
Update to mdbook 0.5
ehuss Oct 29, 2025
7d21279
Merge pull request #1977 from ehuss/mdbook-0.5
marioidival Dec 1, 2025
62ee0ca
Fix calculation of "the sum of all the numbers with odd squares under…
lpascoali Dec 21, 2025
5c7e39b
docs(comments): improve readability and formatting
darkdevil3610 Dec 21, 2025
ad6ee3d
Merge pull request #1 from darkdevil3610/darkdevil3610-patch-1
darkdevil3610 Dec 21, 2025
dc6a0ad
Merge pull request #1980 from lucasfpascoali/patch-1
marioidival Dec 21, 2025
2e02f22
Merge pull request #1981 from darkdevil3610/master
marioidival Dec 21, 2025
d9609db
Update comments on iterator behavior in closure examples
mrwatts88 Jan 5, 2026
8de6ff8
Merge pull request #1983 from mrwatts88/patch-1
marioidival Jan 6, 2026
cdddb3b
Add korean translation
byterube Jan 14, 2026
26c762b
Add korean translation
byterube Jan 14, 2026
9b4b3cd
fix typo
byterube Jan 14, 2026
6ec546c
Merge pull request #1985 from partrita/master
marioidival Jan 14, 2026
e6ceffb
Merge pull request #1986 from partrita/fix-typo
marioidival Jan 15, 2026
5a50235
fix: remove unexpected translations on code blocks
chimes-of-freedom Jan 19, 2026
588c142
Update supertraits.md
LucaPaterlini Jan 20, 2026
ff712be
Update supertraits.md
LucaPaterlini Jan 20, 2026
898a89a
Update question_mark.md
LucaPaterlini Jan 20, 2026
f984df9
Update deprecated functions in `Box::leak` example
anselbobrow Jan 23, 2026
c5e8e45
Enhance Clone and Copy traits documentation
mrwatts88 Jan 25, 2026
fca9177
Merge pull request #1993 from mrwatts88/master
marioidival Jan 25, 2026
c5cd6c6
Merge pull request #1992 from anselbobrow/patch-1
marioidival Jan 25, 2026
7e1dfdb
Merge pull request #1990 from LucaPaterlini/patch-4
marioidival Jan 25, 2026
bac931e
Merge pull request #1988 from LucaPaterlini/patch-2
marioidival Jan 25, 2026
887f0bf
1.2.2 Display: Fix typo in bonus instructions (before -> after)
Adrien-LUDWIG Feb 15, 2026
5383db5
Merge pull request #1998 from Adrien-LUDWIG/patch-1
marioidival Feb 16, 2026
64a1053
remove debug printing for the u32 and bool
Cheese-Space Feb 18, 2026
ceace1a
Add a pub use example
XiaoPengMei Mar 27, 2026
8819d3e
Merge pull request #2000 from XiaoPengMei/docs/add-pub-use-example-1234
marioidival Mar 30, 2026
c48bca9
fix: correct into_iter() example to compile properly (#1904)
Abhinav-ranish Apr 1, 2026
a4655ea
fix: correct destruction order comments in Drop TempFile example (#1925)
Abhinav-ranish Apr 1, 2026
cfec4e2
fix: replace confusing 'module' with 'item' in formatted print docs (…
Abhinav-ranish Apr 1, 2026
375bfda
fix: clarify misleading 'Error' comment in print_display example (#1870)
Abhinav-ranish Apr 1, 2026
c7bcb49
fix: clarify comment about tuple struct field access in testcase_list…
Abhinav-ranish Apr 1, 2026
8e15148
fix: correct iter/into_iter type comments in iter_find example (#1982)
Abhinav-ranish Apr 1, 2026
95f4daa
fix: replace year-to-days conversion with miles-to-km to avoid time f…
Abhinav-ranish Apr 1, 2026
321dc45
Merge pull request #2007 from Abhinav-ranish/fix/1995-newtype-time-fa…
marioidival Apr 1, 2026
6f99c15
Merge pull request #2006 from Abhinav-ranish/fix/1982-iter-find-comments
marioidival Apr 1, 2026
f7ad590
Merge pull request #2005 from Abhinav-ranish/fix/1876-testcase-list-c…
marioidival Apr 1, 2026
37853a7
Merge pull request #2004 from Abhinav-ranish/fix/1870-print-display-e…
marioidival Apr 1, 2026
16285e7
Merge pull request #2003 from Abhinav-ranish/fix/1954-formatted-print…
marioidival Apr 1, 2026
b690a0d
Merge pull request #2002 from Abhinav-ranish/fix/1925-drop-destructio…
marioidival Apr 1, 2026
b31e3b8
Merge pull request #2001 from Abhinav-ranish/fix/1904-into-iter-compi…
marioidival Apr 1, 2026
193dd6d
Update for.md
Itshardtogiveyourselfaname Apr 5, 2026
04b16f2
Merge pull request #2008 from Itshardtogiveyourselfaname/patch-1
marioidival Apr 19, 2026
898f0ac
Merge pull request #1999 from Cheese-Space/master
marioidival Apr 19, 2026
33fc784
Merge branch 'rust-lang:master' into fix/wrongtrans
chimes-of-freedom Apr 21, 2026
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
7 changes: 4 additions & 3 deletions .github/workflows/rbe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on: [push, pull_request]

env:
# Update the language picker in index.hbs to link new languages.
LANGUAGES: ja zh es
LANGUAGES: ja zh es ko
MDBOOK_VERSION: 0.5.1

jobs:
test:
Expand All @@ -27,12 +28,12 @@ jobs:
- name: Install mdbook
run: |
mkdir bin
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.51/mdbook-v0.4.51-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> ${GITHUB_PATH}

- name: Install mdbook-i18n-helpers
run: |
cargo install mdbook-i18n-helpers --locked --version 0.3.4
cargo install mdbook-i18n-helpers --locked --version 0.4.0

- name: Report versions
run: |
Expand Down
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ $ mdbook build
**The following warnings can be ignored safely.**

```text
[WARN] (mdbook::preprocess::cmd): The command wasn't found, is the "gettext" preprocessor installed?
[WARN] (mdbook::preprocess::cmd): Command: mdbook-gettext
WARN The command `mdbook-gettext` for preprocessor `gettext` was not found, but is marked as optional.
```

[install Rust]: http://rust-lang.org/install.html
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ read all content offline, however!
**The following warnings can be ignored safely.**

```text
[WARN] (mdbook::preprocess::cmd): The command wasn't found, is the "gettext" preprocessor installed?
[WARN] (mdbook::preprocess::cmd): Command: mdbook-gettext
WARN The command `mdbook-gettext` for preprocessor `gettext` was not found, but is marked as optional.
```

### Using translated version
Expand Down
4 changes: 2 additions & 2 deletions TRANSLATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ MDBOOK_BOOK__LANGUAGE=xx mdbook serve

### Add a language entry

Please add a language entry in `.github/workflows/rbe.yml`, `theme/index.hbs`, and `src/bootstrap/src/core/build_steps/doc.rs` in [rust-lang/rust](https://github.com/rust-lang/rust) like below:
Please add a language entry in `.github/workflows/rbe.yml`, `theme/head.hbs`, and `src/bootstrap/src/core/build_steps/doc.rs` in [rust-lang/rust](https://github.com/rust-lang/rust) like below:

* `rbe.yml`

Expand All @@ -71,7 +71,7 @@ env:
LANGUAGES: xx yy zz
```

* `index.hbs`
* `head.hbs`

```html
<ul id="language-list" class="theme-popup" aria-label="Languages" role="menu">
Expand Down
4 changes: 3 additions & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ hash-files = true
additional-css = [
"theme/css/language-picker.css",
]
additional-js = ["theme/js/language-picker.js"]

[output.html.search]
use-boolean-and = true

[rust]
edition = "2021"
Expand Down
Loading