rust/library/std/src/thread
Mara Bos a7a7737114
Rollup merge of #84013 - CDirkx:fmt, r=m-ou-se
Replace all `fmt.pad` with `debug_struct`

This replaces any occurrence of:
- `f.pad("X")` with `f.debug_struct("X").finish()`
- `f.pad("X { .. }")` with `f.debug_struct("X").finish_non_exhaustive()`

This is in line with existing formatting code such as
1255053067/library/std/src/sync/mpsc/mod.rs (L1470-L1475)
2021-04-21 23:06:11 +02:00
..
local std: Add a variant of thread locals with const init 2021-04-16 09:21:38 -07:00
available_concurrency.rs Use io::Error::new_const everywhere to avoid allocations. 2021-03-21 20:22:38 +01:00
local.rs Rollup merge of #84013 - CDirkx:fmt, r=m-ou-se 2021-04-21 23:06:11 +02:00
mod.rs Replace all fmt.pad with debug_struct 2021-04-21 14:38:24 +02:00
tests.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00