Skip to content

Commit

Permalink
Auto merge of #115412 - eswartz:docs/total_cmp-test-result-in-docs, r…
Browse files Browse the repository at this point in the history
…=scottmcm

Expose tests for {f32,f64}.total_cmp in docs

Expose tests for {f32,f64}.total_cmp in docs

Uncomment the helpful `assert_eq!` line, which is stripped out completely in docs, and leaves the reader to mentally play through the algorithm, or go to the playground and add a println!, to see what the result will be.

(If these tests are known to fail on some platforms, is there some mechanism to conditionalize this or escape the test so the `assert_eq!` source will be visible on the web? I am a newbie, which is why I was reading docs ;)
  • Loading branch information
bors committed Nov 18, 2023
2 parents adb5335 + 9dc7cda commit e2cd5a6
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit e2cd5a6

Please sign in to comment.