Constants - Rust by Example
Constants - Rust by Example
2023 12:55
constants
Rust has two different types of constants which can be declared in any scope including
global. Both require explicit type annotation:
See also:
https://doc.rust-lang.org/rust-by-example/custom_types/constants.html Stránka 1 z 1