Improve doc comment of destructure_const
This commit is contained in:
parent
053f48d91f
commit
d048b15216
2 changed files with 4 additions and 3 deletions
|
@ -3,8 +3,8 @@ use rustc_target::abi::VariantIdx;
|
|||
|
||||
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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue