1
Fork 0

Rollup merge of #95461 - nyurik:spelling, r=lcnr

Spellchecking some comments

This PR attempts to clean up some minor spelling mistakes in comments
This commit is contained in:
Dylan DPC 2022-03-30 09:10:07 +02:00 committed by GitHub
commit 03b3993ae8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 61 additions and 61 deletions

View file

@ -622,7 +622,7 @@ impl<'a> AstValidator<'a> {
}
}
/// Reject C-varadic type unless the function is foreign,
/// Reject C-variadic type unless the function is foreign,
/// or free and `unsafe extern "C"` semantically.
fn check_c_variadic_type(&self, fk: FnKind<'a>) {
match (fk.ctxt(), fk.header()) {