Skip to content

Commit b874660

Browse files
Fix typo
1 parent e13d659 commit b874660

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ pub fn check_item_type<'a,'tcx>(ccx: &CrateCtxt<'a,'tcx>, it: &'tcx ast::Item) {
731731
"foreign items may not have type parameters");
732732
span_help!(ccx.tcx.sess, item.span,
733733
"consider using specialization instead of \
734-
type parameter");
734+
type parameters");
735735
}
736736

737737
if let ast::ForeignItemFn(ref fn_decl, _) = item.node {

0 commit comments

Comments
 (0)