This website works better with JavaScript.
Home
Explore
Help
Sign In
Patrick
/
RustEn8Etapes
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Version 0.21
master
Patrick Foubet
1 year ago
parent
21ae78b142
commit
6f14c1f28b
2 changed files
with
10 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
annexe/exA_1.rs
+5
-0
annexe/exA_2.rs
+ 5
- 0
annexe/exA_1.rs
View File
@@ -0,0 +1,5 @@
fn main() {
let check : bool = true ; // suppose que c'est vrai
assert ! (check == true) ; // vérifier l'erreur
println ! ("{}", check) ;
}
+ 5
- 0
annexe/exA_2.rs
View File
@@ -0,0 +1,5 @@
fn main() {
let check : bool = false ; // suppose que c'est faux
assert ! (check == true) ; // vérifier l'erreur
print ! ("{}", check) ;
}
Write
Preview
Loading…
Cancel
Save