Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problème d'alignement dans un message d'erreur du 12.4 #408

Open
2 tasks done
luidnel-maignan opened this issue Nov 23, 2024 · 0 comments
Open
2 tasks done

Problème d'alignement dans un message d'erreur du 12.4 #408

luidnel-maignan opened this issue Nov 23, 2024 · 0 comments

Comments

@luidnel-maignan
Copy link

  • I have checked the latest french-release branch to see if this has already been fixed
  • 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 "++".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant