Skip to content

Commit

Permalink
Avoid horizontal scrolling in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-viney committed Jun 14, 2024
1 parent 4ecb0a4 commit f2e0921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ pub fn main() {
let assert False = ieee_float.is_finite(positive_inf)
let assert True = ieee_float.is_nan(nan)
// Convert to a finite value of type `Float`. If the IEEE float is not finite
// then the fallback value is returned.
// Convert to a finite value of type `Float`. If the IEEE float is not
// finite then the fallback value is returned.
let assert 1.0 = ieee_float.to_finite(one, 5.0)
let assert 5.0 = ieee_float.to_finite(positive_inf, 5.0)
Expand Down

0 comments on commit f2e0921

Please sign in to comment.