Common Programming Concepts1 [Rust 문서 읽기] 3. Common Programming Concepts (보편적인 프로그래밍 개념) The Rust Programming Language - Variables and Mutability - By default, variables are immutable -> safety & easy concurrency advantages - Adding mut in front of the variable name makes variable from immutable to mutable - constants - not allowed to use mut keyword with constants - always immutable - using the const keyword to make constants instead of let keyword - the type of the value must be a.. 2023. 1. 29. 이전 1 다음 반응형