about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorfee1-dead <ent3rm4n@gmail.com>2022-04-12 22:44:45 +1000
committerGitHub <noreply@github.com>2022-04-12 22:44:45 +1000
commit1d76dd9ee7fd33585f69d8ca799283724725430e (patch)
treed75bd12072cbf66ffeb705cb673b1bea69a8d4b2 /library/std/src/sys/unix/process/process_unix.rs
parentcdbdf1ef2e4cca6dabc43a2d5101f283e18e2ce7 (diff)
parent2d5eda8fb0392f469e599a6ac3fb23461161dff6 (diff)
downloadrust-1d76dd9ee7fd33585f69d8ca799283724725430e.tar.gz
rust-1d76dd9ee7fd33585f69d8ca799283724725430e.zip
Rollup merge of #95947 - cuviper:default-box, r=dtolnay
`impl const Default for Box<[T]>` and `Box<str>`

The unstable `const_default_impls` (#87864) already include empty `Vec<T>` and `String`. Now we extend that concept to `Box<[T]>` and `Box<str>` as well.

This obviates a hack in `rustc_ast`'s `P::<[T]>::new`.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions