mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 00:48:10 +00:00
Make use of new ArrayRef::consume_* functions. (#5975)
Minor code simplifications.
This commit is contained in:
1 parent
046fbbcb29
commit
816d4589cd
7 files changed
+9
-14
No files matched your search
@@ -140,7 +140,7 @@ auto CheckFunctionDefinitionSignature(Context& context,
|
||||
SemIR::LocId(function.return_slot_pattern_id),
|
||||
function, SemIR::SpecificId::None);
|
||||
// Don't re-check the return type below.
|
||||
params_to_complete = params_to_complete.drop_back();
|
||||
params_to_complete.consume_back();
|
||||
}
|
||||
|
||||
// Check the parameter types are complete.
|
||||
|
||||
Reference in new issue
Block a user