Skip to content

Commit

Permalink
Remove float_cmp allow, now default
Browse files Browse the repository at this point in the history
  • Loading branch information
benny-n committed Jan 7, 2023
1 parent ebef1ce commit 6a90eab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/server/src/core/bank_rule/malag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ use crate::resources::course::CourseId;
use super::BankRuleHandler;

impl<'a> BankRuleHandler<'a> {
// TODO: remove this when removing the condition in the if statement
#[allow(clippy::float_cmp)]
pub fn malag(self, malag_courses: &[CourseId]) -> f32 {
self.credit_overflow
+ self
Expand Down
1 change: 0 additions & 1 deletion packages/server/src/core/bank_rule/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pub mod iterate_courses;
pub mod malag;
pub mod specialization_groups;
pub mod sport;
#[allow(clippy::float_cmp)]
#[cfg(test)]
pub mod tests;

Expand Down
1 change: 0 additions & 1 deletion packages/server/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ pub mod parser;
pub mod types;

pub mod catalog_validations;
#[allow(clippy::float_cmp)]
#[cfg(test)]
pub mod tests;

0 comments on commit 6a90eab

Please sign in to comment.