Created
January 7, 2022 12:01
-
-
Save rashaabdulrazzak/09313079fad25ace31cbdb3c6d44b016 to your computer and use it in GitHub Desktop.
condition in rust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main (){ | |
let x = 1 ; | |
if x == 1 { | |
println!( "value matched" ); | |
} else { | |
println!( "value not matched" ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment