Skip to content

Commit

Permalink
Merge pull request #1142 from hkhere/words_01
Browse files Browse the repository at this point in the history
functions.md: replace `argument` with `parameter`
  • Loading branch information
ehuss authored Jan 24, 2022
2 parents 325ade6 + d005eca commit 4f84f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 4f84f2d

Please sign in to comment.