From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Mon, 13 May 2024 13:30:50 +0000 (+0200) Subject: Fix: use curly braces rather than parentheses X-Git-Url: http://git.euphorik.ch/?a=commitdiff_plain;h=d23f48a3a94a11f782128f0bfacdfd43de2cb854;p=rust_exercises.git Fix: use curly braces rather than parentheses --- 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 {