rust/library
Guillaume Gomez ff21ccfba1
Rollup merge of #101529 - mousetail:patch-2, r=thomcc
Fix the example code and doctest for Formatter::sign_plus

The provided example to the `sign_plus` method on `fmt` was broken, it displays the `-` sign twice for negative numbers.

This pull request should fix the issue by `.abs()` ing the number so that the negative sign appears only once. It is just one possible solution to the issue, not sure if it's the best. However, this one will behave as expected when combined with fill and alignment operators.
2022-09-09 15:36:37 +02:00
..
alloc Auto merge of #93455 - asquared31415:vec-zero-opts, r=thomcc 2022-09-04 20:33:50 +00:00
backtrace@07872f28cd Update backtrace 2022-09-02 16:09:58 -04:00
core Rollup merge of #101529 - mousetail:patch-2, r=thomcc 2022-09-09 15:36:37 +02:00
panic_abort
panic_unwind Auto merge of #92845 - Amanieu:std_personality, r=Mark-Simulacrum 2022-08-28 04:16:29 +00:00
portable-simd separate the receiver from arguments in HIR under /clippy 2022-09-05 22:25:57 +09:00
proc_macro proc_macro/bridge: use the cross-thread executor for nested proc-macros 2022-09-04 14:06:26 -04:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std std: use futex-based locks and thread parker on Hermit 2022-09-09 11:56:50 +02:00
stdarch@42df7394d3
test
unwind