Skip to content

Commit

Permalink
Fix typo in variadic C function warning
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Apr 20, 2019
1 parent c93c7e4 commit fb2af77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/feature_gate.rs
Expand Up @@ -2048,7 +2048,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
}

if fn_decl.c_variadic {
gate_feature_post!(&self, c_variadic, span, "C-varaidic functions are unstable");
gate_feature_post!(&self, c_variadic, span, "C-variadic functions are unstable");
}

visit::walk_fn(self, fn_kind, fn_decl, span);
Expand Down

0 comments on commit fb2af77

Please sign in to comment.