From e7c14ea67e4a39789e7c1dd3a264c61a9c14050e Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Sun, 27 Sep 2026 15:47:45 -0500 Subject: rustlings: complete 15 --- rustlings/exercises/quizzes/quiz3.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rustlings/exercises/quizzes') diff --git a/rustlings/exercises/quizzes/quiz3.rs b/rustlings/exercises/quizzes/quiz3.rs index c877c5f..5bb859f 100644 --- a/rustlings/exercises/quizzes/quiz3.rs +++ b/rustlings/exercises/quizzes/quiz3.rs @@ -12,14 +12,14 @@ // block to support alphabetical report cards in addition to numerical ones. // TODO: Adjust the struct as described above. -struct ReportCard { - grade: f32, +struct ReportCard { + grade: T, student_name: String, student_age: u8, } // TODO: Adjust the impl block as described above. -impl ReportCard { +impl ReportCard { fn print(&self) -> String { format!( "{} ({}) - achieved a grade of {}", -- cgit v1.2.3