]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ty_utils/src/consts.rs
Rollup merge of #98580 - PrestonFrom:issue_98466, r=estebank
[rust.git] / compiler / rustc_ty_utils / src / consts.rs
index 5f7cafe2722fdba58271abb5bafb542222fb3b3a..0b83cdb78dce769835558cac7481eea655b83fdf 100644 (file)
@@ -3,8 +3,8 @@
 
 use std::iter;
 
-/// Tries to destructure array, ADT or tuple constants into the constants
-/// of its fields.
+/// Destructures array, ADT or tuple constants into the constants
+/// of their fields.
 pub(crate) fn destructure_const<'tcx>(
     tcx: TyCtxt<'tcx>,
     const_: ty::Const<'tcx>,