Update Zola

This commit is contained in:
mo8it
2026-08-06 23:21:38 +02:00
committed by Mo Bitar
parent 1b4e590e29
commit 3b7ca447f1
6 changed files with 22 additions and 27 deletions
+4 -6
View File
@@ -2,8 +2,6 @@
title = "Setup"
+++
<!-- toc -->
## Installing Rust
Before installing Rustlings, you must have the **latest version of Rust** installed.
@@ -25,13 +23,13 @@ The following command will download and compile Rustlings:
cargo install rustlings
```
{% details(summary="If the installation fails…") %}
{% <details summary="If the installation fails…"> %}
- Make sure you have the latest Rust version by running `rustup update`
- Try adding the `--locked` flag: `cargo install rustlings --locked`
- Otherwise, please [report the issue](https://github.com/rust-lang/rustlings/issues/new)
{% end %}
{% </details> %}
## Initialization
@@ -41,7 +39,7 @@ After installing Rustlings, run the following command to initialize the `rustlin
rustlings init
```
{% details(summary="If the command <code>rustlings</code> can't be found…") %}
{% <details summary="If the command <code>rustlings</code> can't be found…"> %}
You are probably using Linux and installed Rust using your package manager.
@@ -51,7 +49,7 @@ Sadly, package managers often don't add `~/.cargo/bin` to your `PATH` environmen
- Either add `~/.cargo/bin` manually to `PATH`
- Or uninstall Rust from the package manager and [install it using the official way with `rustup`](https://www.rust-lang.org/tools/install)
{% end %}
{% </details> %}
Now, go into the newly initialized directory and launch Rustlings for further instructions on getting started with the exercises:
+2 -4
View File
@@ -2,8 +2,6 @@
title = "Usage"
+++
<!-- toc -->
## Doing exercises
The exercises are sorted by topic and can be found in the subdirectory `exercises/<topic>`.
@@ -23,13 +21,13 @@ After the [initialization](@/setup/index.md#initialization), Rustlings can be la
This will start the _watch mode_ which walks you through the exercises in a predefined order (what we think is best for newcomers).
It will rerun the current exercise automatically every time you change the exercise's file in the `exercises/` directory.
{% details(summary="If detecting file changes in the <code>exercises/</code> directory fails…") %}
{% <details summary="If detecting file changes in the <code>exercises/</code> directory fails…"> %}
You can add the **`--manual-run`** flag (`rustlings --manual-run`) to manually rerun the current exercise by entering `r` in the watch mode.
Please [report the issue](https://github.com/rust-lang/rustlings/issues/new) with some information about your operating system and whether you run Rustlings in a container or a virtual machine (e.g. WSL).
{% end %}
{% </details> %}
## Exercise List