mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-07-15 01:24:27 +02:00
Require a main function in all exercises
This commit is contained in:
@ -16,6 +16,10 @@
|
||||
// Put your function here!
|
||||
// fn calculate_price_of_apples {
|
||||
|
||||
fn main() {
|
||||
// You can optionally experiment here.
|
||||
}
|
||||
|
||||
// Don't modify this function!
|
||||
#[test]
|
||||
fn verify_test() {
|
||||
|
Reference in New Issue
Block a user