File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -978,7 +978,8 @@ rustc_queries! {
978978 desc { "converting type-level constant value to mir constant value" }
979979 }
980980
981- /// Destructure a type-level constant ADT or array into its variant index and its field values.
981+ /// Destructures array, ADT or tuple constants into the constants
982+ /// of their fields.
982983 query destructure_const( key: ty:: Const <' tcx>) -> ty:: DestructuredConst <' tcx> {
983984 desc { "destructuring type level constant" }
984985 }
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ use rustc_target::abi::VariantIdx;
33
44use std:: iter;
55
6- /// Tries to destructure array, ADT or tuple constants into the constants
7- /// of its fields.
6+ /// Destructures array, ADT or tuple constants into the constants
7+ /// of their fields.
88pub ( crate ) fn destructure_const < ' tcx > (
99 tcx : TyCtxt < ' tcx > ,
1010 const_ : ty:: Const < ' tcx > ,
You can’t perform that action at this time.
0 commit comments