From d005ecac00e72e9123c5a49dc772062c59703aa0 Mon Sep 17 00:00:00 2001 From: hkhere <33268704+hkhere@users.noreply.github.com> Date: Sun, 23 Jan 2022 10:38:59 +0800 Subject: [PATCH] functions.md: replace `argument` with `parameter` --- src/items/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/functions.md b/src/items/functions.md index 183561c92..1d26b2b77 100644 --- a/src/items/functions.md +++ b/src/items/functions.md @@ -63,7 +63,7 @@ fn answer_to_life_the_universe_and_everything() -> i32 { ## Function parameters As with `let` bindings, function parameters are irrefutable [patterns], so any -pattern that is valid in a let binding is also valid as an argument: +pattern that is valid in a let binding is also valid as a parameter: ```rust fn first((value, _): (i32, i32)) -> i32 { value }