1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-10-09 19:12:06 +02:00
Commit Graph

2503 Commits

Author SHA1 Message Date
Martin Geisler
afcc3a47c0 docs: improve language in error-handling section (#2886)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 16:51:21 +00:00
Martin Geisler
041fa6b9c2 docs: improve language in control-flow-basics section (#2887)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 16:49:57 +00:00
Martin Geisler
513c450e7c docs: improve language in closures section (#2888)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 18:41:25 +02:00
Martin Geisler
93de441a6d docs: improve language in generics section (#2884)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 16:18:45 +00:00
Martin Geisler
6043672c2f docs: improve language in user-defined-types section (#2873)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result.

As a non-native speaker, it is hard for me to evaluate the finer details
of this, so let me know if you would like to see changes (or even
better:
make them directly in the PR with the suggestion function).
2025-09-06 17:41:30 +02:00
Martin Geisler
f72d5ce585 docs: improve language in methods-and-traits section (#2881)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).

---------

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-09-06 17:20:10 +02:00
Martin Geisler
118bf78365 docs: improve language in running-the-course section (#2877)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:19:35 +02:00
Martin Geisler
3f479b920b docs: improve language in modules section (#2880)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:08:26 +02:00
Martin Geisler
b7aea9ce22 docs: improve language in memory-management section (#2882)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:05:45 +02:00
Martin Geisler
79324df571 docs: improve language in hello-world section (#2883)
I asked Gemini to review the English for inconsistencies and grammar
mistakes. This is the result and I hope it's useful!

As a non-native speaker, it is hard for me to evaluate the finer
details, so let me know if you would like to see changes (or even
better: make them directly in the PR with the suggestion function).
2025-09-06 17:04:50 +02:00
QPham
2af48cff2e vi: Translate Welcome Day 2 and Day 3 (#2448)
Translate `Welcome to Day 2` and `Welcome to Day 3`  to Vietnamese.
2025-09-04 23:32:34 +00:00
dependabot[bot]
86334bfd7a cargo: bump h2 from 0.3.26 to 0.3.27 in the cargo group across 1 directory (#2869)
Bumps the cargo group with 1 update in the / directory:
[h2](https://github.com/hyperium/h2).

Updates `h2` from 0.3.26 to 0.3.27
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/h2/blob/v0.3.27/CHANGELOG.md">h2's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.27 (July 11, 2025)</h1>
<ul>
<li>Fix notifying wakers when detecting local stream errors.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f6237accb3"><code>f6237ac</code></a>
v0.3.27</li>
<li><a
href="f61332ed48"><code>f61332e</code></a>
refactor: change local reset counter to use type system more</li>
<li><a
href="3f1a8e34cd"><code>3f1a8e3</code></a>
style: fix anonymous lifetime syntax</li>
<li><a
href="778aa7eba9"><code>778aa7e</code></a>
fix: notify_recv after send_reset() in reset_on_recv_stream_err() to
ensure l...</li>
<li><a
href="be10b774f0"><code>be10b77</code></a>
ci: pin more deps for MSRV job (<a
href="https://redirect.github.com/hyperium/h2/issues/817">#817</a>)</li>
<li><a
href="c0d9febc18"><code>c0d9feb</code></a>
ci: pin deps for MSRV</li>
<li><a
href="5ccd9cfb10"><code>5ccd9cf</code></a>
lints: fix unexpected cfgs warnings</li>
<li><a
href="e6e3e9c87f"><code>e6e3e9c</code></a>
fix: return a WriteZero error if frames cannot be written (<a
href="https://redirect.github.com/hyperium/h2/issues/783">#783</a>)</li>
<li>See full diff in <a
href="https://github.com/hyperium/h2/compare/v0.3.26...v0.3.27">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=h2&package-manager=cargo&previous-version=0.3.26&new-version=0.3.27)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/google/comprehensive-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 23:52:25 +02:00
Aliet Expósito García
edf8979159 es: add and improve Spanish translations in Testing in Android section (#2690)
Fixes and improves the Spanish translations in the `Testing in Android`
section (src/android/testing.md)
2025-09-04 22:42:26 +02:00
dependabot[bot]
cb538caef5 Bump the npm_and_yarn group across 1 directory with 2 updates (#2866)
Bumps the npm_and_yarn group with 2 updates in the /tests directory:
[tmp](https://github.com/raszi/node-tmp) and
[@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli).

Removes `tmp`

Updates `@wdio/cli` from 9.5.3 to 9.19.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/webdriverio/webdriverio/releases"><code>@​wdio/cli</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v9.19.2 (2025-08-24)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>wdio-junit-reporter</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14706">#14706</a>
fix(junit-reporter): improve error handling and skipped test reportin…
(<a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a>)</li>
</ul>
</li>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14717">#14717</a>
fix(webdriverio): escape scripts in addInitScript (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
</ul>
</li>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14700">#14700</a>
fix(wdio-xvfb): <code>autoXvfb</code> should disable xvfb completely (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14704">#14704</a>
Add chaining of multiple layers of overwritten command definitions (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 4</h4>
<ul>
<li>Amaan Hakim (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
<li>Brian Birtles (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
<li><a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a></li>
</ul>
<h2>v9.19.1 (2025-08-12)</h2>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14696">#14696</a>
feat(wdio-xvfb): add <code>xvfbAutoInstall</code> option (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 1</h4>
<ul>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
</ul>
<h2>v9.19.0 (2025-08-11)</h2>
<h4>🚀 New Feature</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14663">#14663</a>
feat: <code>@​wdio/xvfb</code> (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14680">#14680</a>
Add ignore hooks support for v9 (<a
href="https://github.com/xxshubhamxx"><code>@​xxshubhamxx</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14694">#14694</a>
fix(webdriverio): don't fail if last window is closed (<a
href="https://github.com/christian-bromann"><code>@​christian-bromann</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14683">#14683</a>
fix: fix longpress on iOS Safari (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14589">#14589</a>
[BUG-14514] - Switch frame to an iframe in a Shadow DOM (<a
href="https://github.com/vishnuv688"><code>@​vishnuv688</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14661">#14661</a>
fix: simplify the getNativeContext check (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
</ul>
</li>
<li><code>wdio-cucumber-framework</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14672">#14672</a>
feat(cucumber): Fix skipping tests with skip tag (<a
href="https://github.com/Nyaran"><code>@​Nyaran</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14677">#14677</a>
A11y targeted scans v9 (<a
href="https://github.com/xxshubhamxx"><code>@​xxshubhamxx</code></a>)</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md"><code>@​wdio/cli</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>v9.19.2 (2025-08-24)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>wdio-junit-reporter</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14706">#14706</a>
fix(junit-reporter): improve error handling and skipped test reportin…
(<a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a>)</li>
</ul>
</li>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14717">#14717</a>
fix(webdriverio): escape scripts in addInitScript (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
</ul>
</li>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14700">#14700</a>
fix(wdio-xvfb): <code>autoXvfb</code> should disable xvfb completely (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14704">#14704</a>
Add chaining of multiple layers of overwritten command definitions (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 4</h4>
<ul>
<li>Amaan Hakim (<a
href="https://github.com/amaanbs"><code>@​amaanbs</code></a>)</li>
<li>Brian Birtles (<a
href="https://github.com/birtles"><code>@​birtles</code></a>)</li>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
<li><a
href="https://github.com/nair-sumesh"><code>@​nair-sumesh</code></a></li>
</ul>
<h2>v9.19.1 (2025-08-12)</h2>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14696">#14696</a>
feat(wdio-xvfb): add <code>xvfbAutoInstall</code> option (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 1</h4>
<ul>
<li><a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a></li>
</ul>
<h2>v9.19.0 (2025-08-11)</h2>
<h4>🚀 New Feature</h4>
<ul>
<li><code>wdio-local-runner</code>, <code>wdio-types</code>,
<code>wdio-xvfb</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14663">#14663</a>
feat: <code>@​wdio/xvfb</code> (<a
href="https://github.com/goosewobbler"><code>@​goosewobbler</code></a>)</li>
</ul>
</li>
<li><code>wdio-browserstack-service</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14680">#14680</a>
Add ignore hooks support for v9 (<a
href="https://github.com/xxshubhamxx"><code>@​xxshubhamxx</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>webdriverio</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14694">#14694</a>
fix(webdriverio): don't fail if last window is closed (<a
href="https://github.com/christian-bromann"><code>@​christian-bromann</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14683">#14683</a>
fix: fix longpress on iOS Safari (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14589">#14589</a>
[BUG-14514] - Switch frame to an iframe in a Shadow DOM (<a
href="https://github.com/vishnuv688"><code>@​vishnuv688</code></a>)</li>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14661">#14661</a>
fix: simplify the getNativeContext check (<a
href="https://github.com/wswebcreation"><code>@​wswebcreation</code></a>)</li>
</ul>
</li>
<li><code>wdio-cucumber-framework</code>
<ul>
<li><a
href="https://redirect.github.com/webdriverio/webdriverio/pull/14672">#14672</a>
feat(cucumber): Fix skipping tests with skip tag (<a
href="https://github.com/Nyaran"><code>@​Nyaran</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>wdio-browserstack-service</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4ca4677177"><code>4ca4677</code></a>
v9.19.2</li>
<li><a
href="df3ec33741"><code>df3ec33</code></a>
v9.19.1</li>
<li><a
href="be9a42358a"><code>be9a423</code></a>
v9.19.0</li>
<li><a
href="a319103a2a"><code>a319103</code></a>
v9.18.4</li>
<li><a
href="fc1d8576f1"><code>fc1d857</code></a>
v9.18.3</li>
<li><a
href="87f33dacfe"><code>87f33da</code></a>
v9.18.2</li>
<li><a
href="3e04568bb2"><code>3e04568</code></a>
v9.18.1</li>
<li><a
href="a515cdf9ce"><code>a515cdf</code></a>
v9.18.0</li>
<li><a
href="69b2f3f90b"><code>69b2f3f</code></a>
chore(*): update major dependencies where possible (<a
href="https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli/issues/14641">#14641</a>)</li>
<li><a
href="bc720bef67"><code>bc720be</code></a>
feat(wdio-cli): enhance job completion logging format (<a
href="https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli/issues/14632">#14632</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/webdriverio/webdriverio/commits/v9.19.2/packages/wdio-cli">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/google/comprehensive-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 21:51:43 +02:00
Enes Aydın
17065839c1 tr: day 2 morning translation with GEMINI :) (#2809)
**I had Google Gemini do this Turkish translation.**  

I gave Gemini my previous translations and the part I wanted it to
translate as two separate PO files. As a prompt, I told it to stick to
my terminology and methodology. Then, I went through the output that
Gemini produced one by one. I estimated that I corrected a small
percentage of the entire translation, around 1-5%.

Part of #500
2025-09-01 22:35:10 +02:00
dependabot[bot]
5e2859fca3 Bump crate-ci/typos from 1.34.0 to 1.35.7 (#2865)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.34.0 to
1.35.7.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 13:07:04 +01:00
dependabot[bot]
7339c04b9c cargo: bump the patch group with 8 updates (#2862)
Bumps the patch group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.98` | `1.0.99` |
| [clap](https://github.com/clap-rs/clap) | `4.5.42` | `4.5.46` |
| [regex](https://github.com/rust-lang/regex) | `1.11.1` | `1.11.2` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.142` | `1.0.143`
|
| [tokio](https://github.com/tokio-rs/tokio) | `1.47.0` | `1.47.1` |
| [tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets) |
`0.12.0` | `0.12.1` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.12.22` |
`0.12.23` |
| [thiserror](https://github.com/dtolnay/thiserror) | `2.0.12` |
`2.0.16` |

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 13:05:20 +01:00
dependabot[bot]
fe43ce5a01 Bump actions/upload-pages-artifact from 3 to 4 (#2864)
Bumps
[actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact)
from 3 to 4.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:41:16 +01:00
dependabot[bot]
f1de2fda36 Bump actions/checkout from 4 to 5 (#2863)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to
5.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:40:44 +01:00
dependabot[bot]
6252183538 cargo: bump the minor group with 2 updates (#2861)
Bumps the minor group with 2 updates:
[scraper](https://github.com/causal-agent/scraper) and
[tempfile](https://github.com/Stebalien/tempfile).

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:24:31 +01:00
dependabot[bot]
59d698c579 cargo: bump the patch group in /src/bare-metal/aps/examples with 2 updates (#2860)
Bumps the patch group in /src/bare-metal/aps/examples with 2 updates:
arm-pl011-uart and [bitflags](https://github.com/bitflags/bitflags).

Updates `arm-pl011-uart` from 0.3.1 to 0.3.2

Updates `bitflags` from 2.9.1 to 2.9.3

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:23:50 +01:00
dependabot[bot]
5a310d840e cargo: bump the patch group in /src/exercises/bare-metal/rtc with 3 updates (#2859)
Bumps the patch group in /src/exercises/bare-metal/rtc with 3 updates:
arm-gic, arm-pl011-uart and
[bitflags](https://github.com/bitflags/bitflags).

Updates `arm-gic` from 0.6.0 to 0.6.1

Updates `arm-pl011-uart` from 0.3.1 to 0.3.2

Updates `bitflags` from 2.9.1 to 2.9.3

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:23:09 +01:00
Martin Geisler
3633b85adb Fix link in README.md (#2858)
I don't know how, but the existing link points to an article that
doesn't actually discuss the course. I updated it to the link I
originally had in mind now.
2025-08-31 17:36:05 -04:00
domicmeia
f645223749 ko: fix ko typo (#2857)
Related on [error while building /ko
#2855](https://github.com/google/comprehensive-rust/issues/2855)
2025-08-29 17:06:21 +02:00
Nicole L
9620f8967f Move closures section to beginning of day 2 afternoon (#2854) 2025-08-22 14:03:08 -07:00
Dustin J. Mitchell
144fe6b971 Add speaker note regarding passing slices instead (#2851)
This section covers both references and slices, but the exercise focuses
on references. This speaker note briefly discusses the option to use
slices instead, and a cost of doing so.
2025-08-20 11:13:37 +02:00
Eric Githinji
301170f17e Uninstall old mdbook-linkcheck while installing project tools. (#2846)
Fixes #2773 .
2025-08-13 10:15:53 +03:00
Eric Githinji
6d3dec9c4c Add note clarifying xtask not a package to be installed. (#2847)
As mentioned in #2803 , if someone has the `cargo-xtask` crate installed
in their system, they will get a deprecation warning every time they run
one of the `cargo xtask ...` commands.

The only way to encounter the deprecation warning is by someone
intentionally running `cargo install cargo-xtask`. To mitigate this we
are adding a note in the README to explain the usage of xtask in the
project and that it is not a package to be installed.

A previous PR #2804 addressed this by adding aliases for each xtask
subcommand and deprecating the use of `cargo xtask` as a prefix for
these commands. While this fixes the warning, the disadvantage is that
it doesn't allow one to run `cargo xtask` to view all available
subcommands in the project with help instructions. Also the help message
that appears if one does e.g. `cargo install-tools --help` still refers
to `xtask` which might be confusing for the user. So overall it's a
better user experience to keep the usage as `cargo xtask <subcommand>`.

Also the use of `cargo xtask` is a pattern used in other large rust
projects (see some examples
[here](https://github.com/matklad/cargo-xtask?tab=readme-ov-file#external-examples)).

Co-authored-by: Eric Githinji <egithinji@google.com>
2025-08-12 22:08:56 -04:00
Emmanuel Ferdman
9e936b6b70 Fix build github workflow reference (#2843)
## PR Summary
This small PR fixes the build github workflow reference in
`tests/README.md`.

---------

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-08-08 13:55:14 +02:00
handohun
d502398934 Fix typo in ko.po (#2844)
Day 4 is translated into 1일차(Day 1)
2025-08-08 11:18:16 +09:00
dependabot[bot]
7fbaa23a2e cargo: bump the minor group in /src/exercises/bare-metal/rtc with 2 updates (#2835)
Bumps the minor group in /src/exercises/bare-metal/rtc with 2 updates:
[aarch64-paging](https://github.com/google/aarch64-paging) and
[arm-gic](https://github.com/google/arm-gic).

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <qwandor@google.com>
2025-08-06 17:24:36 +00:00
dependabot[bot]
bb1f5646f9 cargo: bump aarch64-paging from 0.9.1 to 0.10.0 in /src/bare-metal/aps/examples in the minor group (#2834)
Bumps the minor group in /src/bare-metal/aps/examples with 1 update:
[aarch64-paging](https://github.com/google/aarch64-paging).

Updates `aarch64-paging` from 0.9.1 to 0.10.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/aarch64-paging/releases">aarch64-paging's
releases</a>.</em></p>
<blockquote>
<h2>0.10.0</h2>
<h2>New features</h2>
<ul>
<li>Added <code>Attributes::GP</code> bit for BTI guarded pages.</li>
</ul>
<h2>Breaking changes</h2>
<ul>
<li><code>zerocopy</code> feature has been removed.
<code>PageTable::write_to</code> is provided instead.</li>
<li><code>IdMap::activate</code> now returns the previous TTBR value
rather than storing it, and
<code>IdMap::deactivate</code> takes the TTBR value to restore as a
parameter. <code>IdMap::mark_active</code> no longer
takes a previous TTBR value parameter. The same applies to the
equivalent methods on <code>LinearMap</code>.</li>
<li>Renamed <code>Mapping::activate_raw</code> to <code>activate</code>,
and added previous TTBR value parameter to
<code>Mapping::deactivate</code>.</li>
<li>A page table may be activated multiple times (e.g. on multiple
cores) and will keep track of how
many times it has been activated. It will only be considered inactive
once it has been deactivated
the same number of times.</li>
<li><code>MapError::PteUpdateFault</code> now contains a
<code>usize</code> rather than a <code>Descriptor</code>.</li>
<li><code>Descriptor</code> no longer implements <code>Copy</code>,
<code>Clone</code>, <code>Default</code>, <code>PartialEq</code> or
<code>Eq</code>, as it now
contains an <code>AtomicUsize</code> rather than just a
<code>usize</code>. Various methods on <code>Descriptor</code> now take
<code>&amp;self</code> rather than <code>self</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/google/aarch64-paging/blob/main/CHANGELOG.md">aarch64-paging's
changelog</a>.</em></p>
<blockquote>
<h2>0.10.0</h2>
<h3>New features</h3>
<ul>
<li>Added <code>Attributes::GP</code> bit for BTI guarded pages.</li>
</ul>
<h3>Breaking changes</h3>
<ul>
<li><code>zerocopy</code> feature has been removed.
<code>PageTable::write_to</code> is provided instead.</li>
<li><code>IdMap::activate</code> now returns the previous TTBR value
rather than storing it, and
<code>IdMap::deactivate</code> takes the TTBR value to restore as a
parameter. <code>IdMap::mark_active</code> no longer
takes a previous TTBR value parameter. The same applies to the
equivalent methods on <code>LinearMap</code>.</li>
<li>Renamed <code>Mapping::activate_raw</code> to <code>activate</code>,
and added previous TTBR value parameter to
<code>Mapping::deactivate</code>.</li>
<li>A page table may be activated multiple times (e.g. on multiple
cores) and will keep track of how
many times it has been activated. It will only be considered inactive
once it has been deactivated
the same number of times.</li>
<li><code>MapError::PteUpdateFault</code> now contains a
<code>usize</code> rather than a <code>Descriptor</code>.</li>
<li><code>Descriptor</code> no longer implements <code>Copy</code>,
<code>Clone</code>, <code>Default</code>, <code>PartialEq</code> or
<code>Eq</code>, as it now
contains an <code>AtomicUsize</code> rather than just a
<code>usize</code>. Various methods on <code>Descriptor</code> now take
<code>&amp;self</code> rather than <code>self</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3aa97a9233"><code>3aa97a9</code></a>
Prepare for 0.10.0 release.</li>
<li><a
href="426f0eb2b8"><code>426f0eb</code></a>
Add changes to changelog. (<a
href="https://redirect.github.com/google/aarch64-paging/issues/81">#81</a>)</li>
<li><a
href="3046d1f8ba"><code>3046d1f</code></a>
Add changes to changelog.</li>
<li><a
href="ffaefdd6eb"><code>ffaefdd</code></a>
Add support for GP bit (<a
href="https://redirect.github.com/google/aarch64-paging/issues/80">#80</a>)</li>
<li><a
href="f7073ed3ef"><code>f7073ed</code></a>
Bump bitflags from 2.9.0 to 2.9.1 (<a
href="https://redirect.github.com/google/aarch64-paging/issues/78">#78</a>)</li>
<li><a
href="3146fc9472"><code>3146fc9</code></a>
Deal with memory ordering in page tables</li>
<li><a
href="83c51b4006"><code>83c51b4</code></a>
Drop dependency on zerocopy</li>
<li><a
href="73cf4deb34"><code>73cf4de</code></a>
Mark page tables active before loading them into the MMU</li>
<li><a
href="c58a108b2e"><code>c58a108</code></a>
Move TTBR preserve/restore out of the API</li>
<li><a
href="0d3a2d6339"><code>0d3a2d6</code></a>
Revert &quot;Factor out Mapping::activate_raw.&quot;</li>
<li>Additional commits viewable in <a
href="https://github.com/google/aarch64-paging/compare/0.9.1...0.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aarch64-paging&package-manager=cargo&previous-version=0.9.1&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 09:52:14 +02:00
dependabot[bot]
90c0879239 cargo: bump aarch64-rt from 0.2.1 to 0.2.2 in /src/exercises/bare-metal/rtc in the patch group (#2836)
Bumps the patch group in /src/exercises/bare-metal/rtc with 1 update:
[aarch64-rt](https://github.com/google/aarch64-rt).

Updates `aarch64-rt` from 0.2.1 to 0.2.2
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/google/aarch64-rt/blob/main/CHANGELOG.md">aarch64-rt's
changelog</a>.</em></p>
<blockquote>
<h2>0.2.2</h2>
<h3>Improvements</h3>
<ul>
<li>Added optional parameters to <code>initial_pagetable!</code> to
allow initial MAIR, TCR and SCTLR values to
be specified. The default values are exposed as constants.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2ba1c5153b"><code>2ba1c51</code></a>
Prepare for 0.2.2 release.</li>
<li><a
href="02b0802d0a"><code>02b0802</code></a>
Merge pull request <a
href="https://redirect.github.com/google/aarch64-rt/issues/17">#17</a>
from google/pagetable</li>
<li><a
href="442899cec7"><code>442899c</code></a>
Specify MAIR in example.</li>
<li><a
href="141090a51c"><code>141090a</code></a>
Allow just MAIR to be specified.</li>
<li><a
href="5720896eee"><code>5720896</code></a>
Allow initial MAIR, TCR and SCTLR values to be specified.</li>
<li><a
href="76b1699a3d"><code>76b1699</code></a>
Bump smccc from 0.2.1 to 0.2.2 (<a
href="https://redirect.github.com/google/aarch64-rt/issues/16">#16</a>)</li>
<li>See full diff in <a
href="https://github.com/google/aarch64-rt/compare/0.2.1...0.2.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aarch64-rt&package-manager=cargo&previous-version=0.2.1&new-version=0.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 09:51:28 +02:00
Dustin J. Mitchell
d7f8eb045f Remove reference to discontuned async-std package (#2841)
Fixes #2839.
2025-08-06 09:50:46 +02:00
Dustin J. Mitchell
6e2c393364 Fix typo (#2842)
Fixes #2840
2025-08-06 09:50:19 +02:00
dependabot[bot]
196dafc7e8 cargo: bump the minor group with 2 updates (#2838)
Bumps the minor group with 2 updates:
[tokio](https://github.com/tokio-rs/tokio) and
[tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets).
2025-08-02 12:17:56 -04:00
dependabot[bot]
426f3f783a cargo: bump the patch group with 3 updates (#2837)
Bumps the patch group with 3 updates:
[clap](https://github.com/clap-rs/clap),
[serde_json](https://github.com/serde-rs/json) and
[reqwest](https://github.com/seanmonstar/reqwest).
2025-08-02 12:17:06 -04:00
Eric Githinji
570a726cb5 Add xtask support for refresh slide list. (#2774)
Adds support for a `refresh-slide-list` argument when running the
command `cargo xtask web-tests`. Allows one to also specify an optional
book html directory **if** one uses the `refresh-slide-list` argument.
Fixes #2744 .
2025-08-01 11:07:19 +03:00
Eric Githinji
5fc5893fbf Support setting language and output directory in cargo xtask (#2776)
In addition to simplifying building locally (no need to set an
environment variable), this makes it possible to use the `cargo xtask
build` command in the CI and specify any output location, rather than
relying on the build.sh script.

---------

Co-authored-by: Eric Githinji <egithinji@google.com>
2025-07-31 12:54:26 +03:00
Vinh Tran
16d25dbed7 Clarify Matching Values section (#2833) 2025-07-29 22:09:51 -04:00
Jason Lin
a0edd51120 Add a note about using rust-bindgen (#2818)
Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
2025-07-28 02:29:32 +00:00
Vinh Tran
e157487e6e Fix typo in Matching Values section (#2832)
Given 

```
#[rustfmt::skip]
fn main() {
    let input = '1';
    match input {
        key if key.is_lowercase() => println!("Lowercase: {key}"),
        'q'                       => println!("Quitting"),
        'a' | 's' | 'w' | 'd'     => println!("Moving around"),
        '0'..='9'                 => println!("Number input"),
        _                         => println!("Something else"),
    }
}
```

the output will be

```
Number input
```

So in practice, failing the condition does result to the other arms if
the other arms are after that (if I'm reading this correctly).
2025-07-27 18:52:11 +02:00
Yiğit Rahim Kuru
697054c301 Added new reviewer for Turkish translation (#2831)
Hello, I would like to support the translation of Rust into Turkish in
order to promote it in Turkey. As I saw in the previous PRs, we need to
add our own name here, so I am opening a PR in this regard. I hope it
will have a positive outcome (I know I opened the PR with the wrong
name, I'm sorry).
2025-07-27 19:44:51 +03:00
Outer Heaven Legacy
0105fac065 Fix typo in fa.po (#2829)
Fix typo in fa.po
2025-07-27 18:34:47 +02:00
Nicole L
a76b50a0df Remove unnecessary dependencies on libbinder_rs (#2782)
These dependencies turned out not to be necessary, since depending on
the generated `com.example.birthdayservice-rust` also exports the common
binder functionality.
2025-07-25 11:11:56 +02:00
Nicole L
047b2b2255 Add note to binary-tree exercise about duplicate values (#2790)
Just a small note to clarify a minor point of confusion with the
exercise.
2025-07-25 11:11:17 +02:00
Nicole L
f37402066d Remove unnecessary type cast in C ffi example (#2783)
A `&T` can automatically coerce to a `*const T`, so the manual cast
isn't necessary here.
2025-07-25 11:10:31 +02:00
Dayo
c4985cbf27 Fix major Korean translation issues on title (#2825)
This fixes the titles of Korean translation which has been mixed or has
major issues that may reader harden to understand
2025-07-25 10:52:53 +02:00
Nicole L
1a3c11b03e Add speaker note that arrays go on the stack (#2826) 2025-07-23 10:37:19 -07:00
Michalina Sidor
4dbbcce4b8 Fix typo in embedded-hal.md (#2828) 2025-07-22 16:39:59 +00:00