From 2477f72adce50e46f5a097dd916a2d393d1c0030 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 23 May 2024 14:39:43 +0200 Subject: [PATCH] Remove ambiguity in 03/07 exercise mandate. --- exercises/03_ticket_v1/07_setters/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/03_ticket_v1/07_setters/src/lib.rs b/exercises/03_ticket_v1/07_setters/src/lib.rs index 9aa4301..e13ec87 100644 --- a/exercises/03_ticket_v1/07_setters/src/lib.rs +++ b/exercises/03_ticket_v1/07_setters/src/lib.rs @@ -1,6 +1,7 @@ // TODO: Add &mut-setters to the `Ticket` struct for each of its fields. // Make sure to enforce the same validation rules you have in `Ticket::new`! -// Even better, extract that logic into private methods and reuse it in both places. +// Even better, extract that logic and reuse it in both places. You can use +// private functions or private static methods for that. pub struct Ticket { title: String, -- 2.45.2