Check out example codes for "rust declare variable". It will help you in understanding the concepts better.

Code Example 1

let <name>:<type> = <value>		//keyword "let" can only be used inside a function

Learn ReactJs, React Native from akashmittal.com