Skip to content

Commit

Permalink
Remove redundant #[allow(...)]s
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Jan 8, 2025
1 parent 6bb97c6 commit ad9be6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions experiments/2024-12-09/src/math/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ impl Scalar {
Self { value }
}

#[allow(unused)] // code to use it is being worked on
pub fn zero() -> Self {
Self::new(0.)
}
Expand All @@ -26,7 +25,6 @@ impl Scalar {
self.value
}

#[allow(unused)] // code to use it is being worked on
pub fn sqrt(self) -> Self {
let value = self.value().sqrt();
Self::new(value)
Expand Down

0 comments on commit ad9be6a

Please sign in to comment.