feat: build scholarship info page
This commit is contained in:
1 parent
0243a592b4
commit
0ace17d28c
11 files changed
+679
-251
No files matched your search
@@ -42,7 +42,8 @@ impl ComparisonData {
|
||||
}
|
||||
|
||||
pub fn compare(&self, student_data: &ExpandableInfo) -> Result<bool, String> {
|
||||
let value = student_data.data.get(&self.member).unwrap();
|
||||
let value = student_data.data.get(&self.member)
|
||||
.expect(format!("Couldn't find member {:?}, current student data: {:?}", self.member, student_data).as_str());
|
||||
self.comparison.evaluate(value, &self.target_value)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user