Correction of the seccond test for excercice generics3.rs there was an error in the function generate_alphabetic_report_card(), 2.1 instead of A+

This commit is contained in:
ludop31 2022-04-26 23:22:40 +02:00
parent b7cce5c050
commit a728d1d495

View File

@ -46,7 +46,7 @@ mod tests {
fn generate_alphabetic_report_card() {
// TODO: Make sure to change the grade here after you finish the exercise.
let report_card = ReportCard {
grade: 2.1,
grade: "A+",
student_name: "Gary Plotter".to_string(),
student_age: 11,
};