When looking at Rust code examples, the syntax that seems the strangest (weirdest) is .unwrap(). To easily understand, you can think of it as the function call crashing (panicking) if it fails. For now, just know that and move on lol.
쉽게 이해하면 function call 이 실패하면 crash(panic) 된다고 생각하면 된다.
일단 그렇게 알고 넘어가도록 ㅋㅋ
댓글 없음:
댓글 쓰기