Skip to content

Glossary: Rust Basics

Local variable

Also written: local

A parameter or variable made inside a function, which only that function can see. Values get in through arguments and out through the return value.

Where the book teaches it

Related terms

ScopeFunction