Merge pull request #2422 from sobhanmohammadi-dev/fix-quiz3-clippy

Fix clippy warnings in quiz3 solution
This commit is contained in:
Remo Senekowitsch 2026-07-18 11:38:00 +02:00 committed by GitHub
commit 734461f2fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ impl<T: Display> ReportCard<T> {
fn print(&self) -> String { fn print(&self) -> String {
format!( format!(
"{} ({}) - achieved a grade of {}", "{} ({}) - achieved a grade of {}",
&self.student_name, &self.student_age, &self.grade, self.student_name, self.student_age, self.grade,
) )
} }
} }