boolean in Rust
In Rust, Boolean types have two possible values – true or false. Use the bool keyword to declare a boolean variable. ``` let isfun:bool = true; ```
In Rust, Boolean types have two possible values – true or false. Use the bool keyword to declare a boolean variable. ``` let isfun:bool = true; ```