rust-book-fr
rust-book-fr copied to clipboard
Problème d'alignement dans un message d'erreur du 12.4
- [x] I have checked the latest
french-releasebranch to see if this has already been fixed - [x] I have searched existing issues and pull requests for duplicates
URL to the section(s) of the book with this problem: https://jimskapt.github.io/rust-book-fr/ch12-04-testing-the-librarys-functionality.html
Description of the problem: Actuellement, les lignes 12 et 13 du premier encart qui contient un message d'erreur sont:
28 | pub fn rechercher<'a>(recherche: &'a str, contenu: &'a str) -> Vec<&'a str> {
| ++++ ++ ++ ++
Suggested fix: Ces lignes devraient être
28 | pub fn rechercher<'a>(recherche: &'a str, contenu: &'a str) -> Vec<&'a str> {
| ++++ ++ ++ ++
C'est à dire que quatre espaces sont ajoutés après le premier "++".