Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Rust
rust declare variable
savak
Programming language:
Rust
2021-02-21 19:03:24
0
Q:
rust declare variable
Lukas
Code:
Rust
2021-02-21 19:10:31
let <name>:<type> = <value> //keyword "let" can only be used inside a function
1
Tags
variable
declare
var
Related
declaring constants in rust
casting in rust
rust trait inheritance
creating constants in rust
create file rust
rust setup in vim
array as a parameter rust
enum rust
how to make an array in rust
initializing array rust
New to Communities?
Join the community