Skip to content

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

@luidnel-maignan

Description

@luidnel-maignan
  • 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 "++".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions