Skip to content

Commit

Permalink
Fix: Fix typo - 번수 -> 변수 (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: 권태형(TaeHyoungKwon)/LastMile-Tech <taehyoung.kwon@wesang.com>
  • Loading branch information
TaeHyoungKwon and thkwon1 committed Feb 29, 2024
1 parent a32d0ec commit 6fae08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch03-01-variables-and-mutability.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const THREE_HOURS_IN_SECONDS: u32 = 60 * 60 * 3;
다루었던 추리 게임에서 보았듯이, 새 변수를 이전 변수명과 같은 이름으로
선언할 수 있습니다. 러스타시안들은 첫 번째 변수가 두 번째 변수에
의해 *가려졌다 (shadowed)* 라고 표현하며, 이는 해당 변수의
이름을 사용할 때 컴파일러가 두 번째 번수를 보게 될 것이라는
이름을 사용할 때 컴파일러가 두 번째 변수를 보게 될 것이라는
의미입니다. 사실상 두 번째 변수는 첫 번째 것을 가려서, 스스로를 다시
가리거나 스코프가 끝날 때까지 변수명의 사용을 가져가 버립니다.
아래처럼 똑같은 변수명과 let` 키워드의 반복으로 변수를 가릴 수
Expand Down

0 comments on commit 6fae08f

Please sign in to comment.