Fix typos
This commit is contained in:
parent
717eb6ccea
commit
3fba948510
5 changed files with 9 additions and 9 deletions
|
@ -516,7 +516,7 @@ impl<'a> AstValidator<'a> {
|
|||
self.session.source_map().guess_head_span(self.extern_mod.unwrap().span)
|
||||
}
|
||||
|
||||
/// An `fn` in `extern { ... }` cannot have qualfiers, e.g. `async fn`.
|
||||
/// An `fn` in `extern { ... }` cannot have qualifiers, e.g. `async fn`.
|
||||
fn check_foreign_fn_headerless(&self, ident: Ident, span: Span, header: FnHeader) {
|
||||
if header.has_qualifiers() {
|
||||
self.err_handler()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue