Yes. From the Rust reference: fn main() { let x = false || true; // true let y = false && panic!(); // false, doesn't evaluate `panic!()` }
確定! 回上一頁