about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-08-26 12:56:23 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2015-08-26 12:56:23 +0200
commitb874660c6428de6fb20947a618cc44d20bf1871f (patch)
tree358df11d9592f1d5edfdcf4fdf70878cb7eb6c41
parente13d659c128be05d918fefa4270577e810bfe734 (diff)
downloadrust-b874660c6428de6fb20947a618cc44d20bf1871f.tar.gz
rust-b874660c6428de6fb20947a618cc44d20bf1871f.zip
Fix typo
-rw-r--r--src/librustc_typeck/check/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs
index a7335f8fa84..b21f683b169 100644
--- a/src/librustc_typeck/check/mod.rs
+++ b/src/librustc_typeck/check/mod.rs
@@ -731,7 +731,7 @@ pub fn check_item_type<'a,'tcx>(ccx: &CrateCtxt<'a,'tcx>, it: &'tcx ast::Item) {
                         "foreign items may not have type parameters");
                     span_help!(ccx.tcx.sess, item.span,
                         "consider using specialization instead of \
-                        type parameter");
+                        type parameters");
                 }
 
                 if let ast::ForeignItemFn(ref fn_decl, _) = item.node {