提早回傳(Early returns). 那麼提早回傳又該怎樣做? Rust 的確有一個關鍵字 return 可以提早回傳: ... function never returns!', hello.rs:2 stack backtrace: 1: ...
確定! 回上一頁