mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-11-29 22:47:43 +02:00
Clean up and unify exercises
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
// options1.rs
|
||||
//
|
||||
// Execute `rustlings hint options1` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
// This function returns how much icecream there is left in the fridge.
|
||||
// If it's before 10PM, there's 5 scoops left. At 10PM, someone eats it
|
||||
// all, so there'll be no more left :(
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
// options2.rs
|
||||
//
|
||||
// Execute `rustlings hint options2` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
fn main() {
|
||||
// You can optionally experiment here.
|
||||
}
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
// options3.rs
|
||||
//
|
||||
// Execute `rustlings hint options3` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
struct Point {
|
||||
x: i32,
|
||||
y: i32,
|
||||
|
||||
Reference in New Issue
Block a user