From d23f48a3a94a11f782128f0bfacdfd43de2cb854 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Mon, 13 May 2024 15:30:50 +0200 Subject: [PATCH] Fix: use curly braces rather than parentheses --- exercises/07_threads/07_ack/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/07_threads/07_ack/src/lib.rs b/exercises/07_threads/07_ack/src/lib.rs index dd90554..746c355 100644 --- a/exercises/07_threads/07_ack/src/lib.rs +++ b/exercises/07_threads/07_ack/src/lib.rs @@ -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 {