1
Fork 0

Address review comments.

This commit is contained in:
Nicholas Nethercote 2025-04-10 09:39:21 +10:00
parent 1b3fc585cb
commit 663a317c20
6 changed files with 11 additions and 8 deletions

View file

@ -3399,7 +3399,7 @@ pub struct BareFnTy<'hir> {
pub abi: ExternAbi,
pub generic_params: &'hir [GenericParam<'hir>],
pub decl: &'hir FnDecl<'hir>,
// `Option` because bare fn parameter idents are optional. We also end up
// `Option` because bare fn parameter identifiers are optional. We also end up
// with `None` in some error cases, e.g. invalid parameter patterns.
pub param_idents: &'hir [Option<Ident>],
}