Skip to content

Commit

Permalink
functions.md: replace argument with parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
hkhere committed Jan 23, 2022
1 parent e9ff486 commit d005eca
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 d005eca

Please sign in to comment.