rust/library
Yuki Okushi 7ca833efe0
Rollup merge of #104074 - yancyribbens:add-example-to-round, r=Mark-Simulacrum
rustdoc: Add an example for round that is different from truncate

The current examples for [round](https://github.com/rust-lang/rust/blob/master/library/std/src/f64.rs#L75) would have the same results as the example for [truncate](https://github.com/rust-lang/rust/blob/master/library/std/src/f64.rs#L95).  This PR adds one more example to `round` that will have a different result from `truncate`.
2022-11-07 09:46:29 +09:00
..
alloc Rollup merge of #104056 - ripytide:patch-1, r=Mark-Simulacrum 2022-11-07 09:46:26 +09:00
backtrace@07872f28cd
core Auto merge of #99943 - compiler-errors:tuple-trait, r=jackh726 2022-11-06 17:48:33 +00:00
panic_abort Remove std's transitive dependency on cfg-if 0.1 2022-11-02 18:01:20 -04:00
panic_unwind Remove std's transitive dependency on cfg-if 0.1 2022-11-02 18:01:20 -04:00
portable-simd
proc_macro Stabilize proc_macro::Span::source_text 2022-10-18 17:13:41 +02:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std rustdoc: Add an example for round that is different from truncate 2022-11-06 23:05:16 +01:00
stdarch@790411f93c
test Rollup merge of #103681 - RalfJung:libtest-thread, r=thomcc 2022-11-04 18:52:26 +01:00
unwind Remove std's transitive dependency on cfg-if 0.1 2022-11-02 18:01:20 -04:00