Skip to content

Commit 9aa8a84

Browse files
committed
Make an error message more grammatical.
1 parent 1f2ee4b commit 9aa8a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustc/middle/typeck/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ fn check_methods_against_trait(ccx: @crate_ctxt,
257257
some({mty: m, id, span}) {
258258
if m.purity != if_m.purity {
259259
ccx.tcx.sess.span_err(
260-
span, #fmt["method `%s`'s purity \
260+
span, #fmt["method `%s`'s purity does \
261261
not match the trait method's \
262262
purity", *m.ident]);
263263
}

0 commit comments

Comments
 (0)