mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-08-14 14:26:56 +00:00
Merge pull request #2422 from sobhanmohammadi-dev/fix-quiz3-clippy
Fix clippy warnings in quiz3 solution
This commit is contained in:
commit
734461f2fb
@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user