Skip to content

Glossary: Rust Basics

Argument

Also written: arguments

A value you pass to a function when you call it, such as `1500` in `print_price("Mug", 1500)`. Arguments match the function's parameters by position.

Where the book teaches it