Skip to content

Glossary: Rust Beyond the Basics

const

Also written: constant

A value fixed at compile time. The order service's `CATALOG` is a `const` array of SKU and price pairs.

Where the book teaches it

Related terms

'static