Fix: use curly braces rather than parentheses
authorLukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com>
Mon, 13 May 2024 13:30:50 +0000 (15:30 +0200)
committerLukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com>
Mon, 13 May 2024 13:30:50 +0000 (15:30 +0200)
exercises/07_threads/07_ack/src/lib.rs

index dd90554..746c355 100644 (file)
@@ -6,8 +6,8 @@ pub mod store;
 
 // Refer to the tests to understand the expected schema.
 pub enum Command {
-    Insert(todo!()),
-    Get(todo!()),
+    Insert { todo!() },
+    Get { todo!() }
 }
 
 pub fn launch() -> Sender<Command> {