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

Corrected "nom_unite" to "unite" #411

Open
wants to merge 1 commit into
base: french-release
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions FRENCH/src/ch03-03-how-functions-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ both the `value` and the `unit_label`.
-->

Cet exemple crée la fonction `afficher_mesure_avec_unite` qui a deux paramètres.
Le premier paramètre s'appelle `valeur` et est un `i32`. Le second, `nom_unite`,
Le premier paramètre s'appelle `valeur` et est un `i32`. Le second, `unite`,
est de type `char`. La fonction affiche ensuite le texte qui contient les
valeurs de `valeur` et de `nom_unite`.
valeurs de `valeur` et de `unite`.

<!--
Let’s try running this code. Replace the program currently in your *functions*
Expand Down Expand Up @@ -250,7 +250,7 @@ the value for `unit_label`, the program output contains those values.
-->

Comme nous avons appelé la fonction avec la valeur `5` pour `valeur` et `'h'`
pour `nom_unite`, la sortie de ce programme contient ces valeurs.
pour `unite`, la sortie de ce programme contient ces valeurs.

<!--
### Statements and Expressions
Expand Down