Skip to content

Commit f71830a

Browse files
committed
typos
1 parent 99a85f0 commit f71830a

File tree

8 files changed

+21
-9
lines changed

8 files changed

+21
-9
lines changed

src/en/devenv.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,17 @@ $
115115

116116
### Rustc Tier guarantees
117117

118-
As Rustc's backend is based on LLVM, it inherits and classifies its supported targets into tiers to communicate how much stability and testing each backend receives.
118+
As Rustc's backend is based on [LLVM], it inherits and classifies its supported targets into tiers to communicate how much stability and testing each backend receives.
119+
120+
[LLVM]: https://llvm.org/
119121

120122
#### Tier 1 - guaranteed to work
121123

122124
The target is fully vetted by the community. It passes the entire test suite, receives regular regression testing, and is kept up‑to‑date with new releases. In practice, you can rely on consistent code generation, stable ABI, and predictable performance. Tier 1 targets can be thought of as "guaranteed to work".
123125

124126
#### Tier 2 - guaranteed to build
125127

126-
The target’s source code compiles cleanly, but it does not receive the same level of testing or maintenance as Tier 1. It may lack full coverage in the test suite, and certain optimizations or newer LLVM features could be missing or unstable. Users can still generate code for these backends, but they should expect occasional breakage or the need for manual patches. Tier 2 targets can be thought of as "guaranteed to build" but not as "guaranteed to work".
128+
The target’s source code compiles cleanly, but it does not receive the same level of testing or maintenance as Tier 1. It may lack full coverage in the test suite, and certain optimizations or newer [LLVM] features could be missing or unstable. Users can still generate code for these backends, but they should expect occasional breakage or the need for manual patches. Tier 2 targets can be thought of as "guaranteed to build" but not as "guaranteed to work".
127129

128130
#### Tier 3
129131

src/en/guarantees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The language paradigm is to ensure the absence of a UB in a program using only t
5151

5252
Despite these memory safety guarantees, the language does not prevent
5353

54-
* resource leaks (memory, IO, ...) (see the [memory management section](unsafe/memory.md#chapter-memory)),
54+
* resource leaks (memory, I/O, ...) (see the [memory management section](unsafe/memory.md#chapter-memory)),
5555
* numeric overflows (see the [integer operations section](integer.md#chapter-integer)).
5656

5757
</div>

src/en/libraries.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ serde_json = "1.0.143"
2626
serde = "1.0.219"
2727
```
2828

29-
The default repository is [crates.io](https://crates.io). It is also possible to use [your own registry](https://doc.rust-lang.org/cargo/reference/registries.html).
29+
The default repository is [`crates.io`]. It is also possible to use [your own registry](https://doc.rust-lang.org/cargo/reference/registries.html).
30+
31+
[`crates.io`]: https://crates.io
3032

3133
### Git Dependencies
3234

src/en/unsafe/ffi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,12 @@ Safe Rust ensures that. Standard-compliant C and C++ compilers ensure that no
309309
value but 0 and 1 can be *stored* in a `_Bool`/`bool` value but cannot
310310
guarantee the absence of an *incorrect reinterpretation* (e.g., union types,
311311
pointer cast). To detect such a bad reinterpretation, sanitizers such as
312-
LLVM's `-fsanitize=bool` may be used.
312+
[LLVM]'s `-fsanitize=bool` may be used.
313313
314314
</div>
315315
316+
[LLVM]: https://llvm.org/
317+
316318
#### References and pointers
317319
318320
The types `&mut T` and `&T` are subject to the same validity requirements as the

src/fr/devenv.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ $
122122

123123
### Garantie de niveau pour Rustc
124124

125-
Rustc utilise LLVM comme backend, il hérite donc du support de ce dernier et classe ses cibles prises en charge en différents niveaux afin d’indiquer le degré de stabilité et de tests effectué.
125+
Rustc utilise [LLVM] comme backend, il hérite donc du support de ce dernier et classe ses cibles prises en charge en différents niveaux afin d’indiquer le degré de stabilité et de tests effectué.
126+
127+
[LLVM]: https://llvm.org/
126128

127129
#### Tier 1 - Fonctionnement garanti
128130

src/fr/guarantees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Le langage Rust est conçu dans le but de garantir l'absence d'*UB* dans un prog
5656

5757
On notera que cette garantie qu'offre le langage Rust ***ne protège pas*** contre les erreurs suivantes :
5858

59-
* fuites de resources (mémoire, IO, *etc.*) (voir la section sur la [gestion mémoire](unsafe/memory.md#chapter-memory)) ;
59+
* fuites de resources (mémoire, I/O, *etc.*) (voir la section sur la [gestion mémoire](unsafe/memory.md#chapter-memory)) ;
6060
* dépassements numériques (voir la section sur le traitement des [entiers](integer.md#chapter-integer)).
6161

6262
</div>

src/fr/libraries.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ serde_json = "1.0.143"
2626
serde = "1.0.219"
2727
```
2828

29-
Le dépôt par défaut est [crates.io](https://crates.io). Il est aussi possible d'utiliser [son propre dépôt](https://doc.rust-lang.org/cargo/reference/registries.html).
29+
Le dépôt par défaut est [`crates.io`]. Il est aussi possible d'utiliser [son propre dépôt](https://doc.rust-lang.org/cargo/reference/registries.html).
30+
31+
[`crates.io`]: https://crates.io
3032

3133
### Dépendances Git
3234

src/fr/unsafe/ffi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,12 @@ compilateurs C et C++ assurent qu'aucune autre valeur que 0 et 1 ne peut être
329329
*stockée* dans un `_Bool`/`bool` mais ne peuvent garantir l'absence d'une
330330
*réinterprétation incorrecte* (par exemple dans un type union ou *via* un
331331
*cast* de pointeur). Pour détecter une telle réinterprétation, un
332-
*sanitizer* tel que l'option `-fsanitize=bool` de LLVM peut être utilisé.
332+
*sanitizer* tel que l'option `-fsanitize=bool` de [LLVM] peut être utilisé.
333333
334334
</div>
335335
336+
[LLVM]: https://llvm.org/
337+
336338
#### Références et pointeurs
337339
338340
Les types `&T` et `&mut T` imposent les mêmes contraintes de validité en mémoire

0 commit comments

Comments
 (0)