summaryrefslogtreecommitdiff
path: root/exercises/07_structs/structs2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/07_structs/structs2.rs')
-rw-r--r--exercises/07_structs/structs2.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/exercises/07_structs/structs2.rs b/exercises/07_structs/structs2.rs
index a7a2dec..451dbe7 100644
--- a/exercises/07_structs/structs2.rs
+++ b/exercises/07_structs/structs2.rs
@@ -1,9 +1,4 @@
-// structs2.rs
-//
// Address all the TODOs to make the tests pass!
-//
-// Execute `rustlings hint structs2` or use the `hint` watch subcommand for a
-// hint.
#[derive(Debug)]
struct Order {
@@ -28,6 +23,10 @@ fn create_order_template() -> Order {
}
}
+fn main() {
+ // You can optionally experiment here.
+}
+
#[cfg(test)]
mod tests {
use super::*;