1
Fork 0

Rollup merge of #115578 - ouz-a:rustc_clarify, r=oli-obk

Clarify cryptic comments

Clarifies some unclear comments that lurked in the compiler.

r? ``@oli-obk``
This commit is contained in:
Matthias Krüger 2023-09-06 19:31:49 +02:00 committed by GitHub
commit 93543bc8bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View file

@ -2857,7 +2857,7 @@ impl<'tcx> Ty<'tcx> {
| ty::Uint(..)
| ty::Float(..) => true,
// The voldemort ZSTs are fine.
// ZST which can't be named are fine.
ty::FnDef(..) => true,
ty::Array(element_ty, _len) => element_ty.is_trivially_pure_clone_copy(),