2 | let x = (let y = 6); 

  | ^^^


The let y = 6 statement does not return a value, so there isn’t anything for x to bind to. This is different from what happens in other languages, such as C and Ruby, where the assignment returns the value of the assignment. In those languages, you can write x = y = 6 and have both x and y have the value 6; that is not the case in Rust.


이 부분말인데

C도 int x = (int y = 6); 하면 안 되잖아
rust 도 let mut y = 0; let x = y = 6; 할 수 있는데 저렇게 표현해놓은 이유가 머임?