mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-27 14:24:08 +00:00
![]() 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 ;) |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |