Open
Description
In quiz3 solution, I think it is incomplete, since ideally we shouldn't even allow to create a ReportCard with the grade attribute having value of type other than those that implement the Display trait, so in my opinion in the complete solution we should also put a Trait Bound in the definition of the struct ReportCard and modify it to struct ReportCard<T: Display>
Metadata
Metadata
Assignees
Labels
No labels