Make an error message more grammatical.
This commit is contained in:
parent
1f2ee4b384
commit
9aa8a84766
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue