Skip to content

Commit fb2af77

Browse files
committed
Fix typo in variadic C function warning
1 parent c93c7e4 commit fb2af77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2048,7 +2048,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
20482048
}
20492049

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

20542054
visit::walk_fn(self, fn_kind, fn_decl, span);

0 commit comments

Comments
 (0)