forked from rust-lang/rustlings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add exercise variables6 covering const (rust-lang#352)
- Loading branch information
yourname
committed
Apr 14, 2020
1 parent
6034baa
commit 38ae34a
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// variables5.rs | ||
// Make me compile! Execute the command `rustlings hint variables6` if you want a hint :) | ||
|
||
// I AM NOT DONE | ||
|
||
const NUMBER = 3; | ||
fn main() { | ||
println!("Number {}", NUMBER); | ||
} |
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