Skip to content

Commit

Permalink
Make the CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiptun3r committed May 23, 2024
1 parent bcad389 commit a13537e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion agb-fixnum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,10 @@ impl<I: FixedWidthInteger, const N: usize> Num<I, N> {

impl<I: FixedWidthInteger, const N: usize> Display for Num<I, N> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
let repr = self.0.to_i64().expect("Num<I, N>'s I can always be converted to i64");
let repr = self
.0
.to_i64()
.expect("Num<I, N>'s I can always be converted to i64");
let mut integral = repr >> N;
let mask = (1_i64 << N) - 1;

Expand Down

0 comments on commit a13537e

Please sign in to comment.