Skip to content

Commit

Permalink
Rewrap PR 1027 comments to 80 columns and reword
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 11, 2023
1 parent e8e5342 commit 9604317
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1956,8 +1956,8 @@ fn test_float_key() {

#[test]
fn test_deny_non_finite_f32_key() {
// We store float bits so that we can derive `Ord`, and other traits. In a real context, we
// would use a crate like `ordered-float` instead.
// We store float bits so that we can derive Ord, and other traits. In a
// real context the code might involve a crate like ordered-float.

#[derive(Eq, PartialEq, Ord, PartialOrd, Debug, Clone)]
struct F32Bits(u32);
Expand Down Expand Up @@ -1985,8 +1985,8 @@ fn test_deny_non_finite_f32_key() {

#[test]
fn test_deny_non_finite_f64_key() {
// We store float bits so that we can derive `Ord`, and other traits. In a real context, we
// would use a crate like `ordered-float` instead.
// We store float bits so that we can derive Ord, and other traits. In a
// real context the code might involve a crate like ordered-float.

#[derive(Eq, PartialEq, Ord, PartialOrd, Debug, Clone)]
struct F64Bits(u64);
Expand Down

0 comments on commit 9604317

Please sign in to comment.