about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLindsey Kuper <lindsey@rockstargirl.org>2012-07-13 17:16:01 -0700
committerLindsey Kuper <lindsey@rockstargirl.org>2012-07-13 17:46:24 -0700
commit9aa8a847665f7d8959e74ca60e3eefecfc9e70bf (patch)
tree87c2433142e7c3f9fd812a13188b12450dbf5457
parent1f2ee4b384c70f27d6b2e264f883b6760fb4b18e (diff)
downloadrust-9aa8a847665f7d8959e74ca60e3eefecfc9e70bf.tar.gz
rust-9aa8a847665f7d8959e74ca60e3eefecfc9e70bf.zip
Make an error message more grammatical.
-rw-r--r--src/rustc/middle/typeck/collect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/middle/typeck/collect.rs b/src/rustc/middle/typeck/collect.rs
index 5d3842e6085..6ef38f0ef3b 100644
--- a/src/rustc/middle/typeck/collect.rs
+++ b/src/rustc/middle/typeck/collect.rs
@@ -257,7 +257,7 @@ fn check_methods_against_trait(ccx: @crate_ctxt,
           some({mty: m, id, span}) {
             if m.purity != if_m.purity {
                 ccx.tcx.sess.span_err(
-                    span, #fmt["method `%s`'s purity \
+                    span, #fmt["method `%s`'s purity does \
                                 not match the trait method's \
                                 purity", *m.ident]);
             }