diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 5b981ed141d1..a9fe1a1f82b9 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -212,8 +212,8 @@ http://doc.rust-lang.org/reference.html#trait-objects "##, E0036: r##" -This error occurred when you pass too many or not enough type parameters to a -method. Example: +This error occurrs when you pass too many or not enough type parameters to +a method. Example: ``` struct Test;