Fix spelling errors.

This commit is contained in:
Joseph Crail
2014-07-02 21:27:07 -04:00
committed by Alex Crichton
parent 8297edd549
commit e3fa23bcb6
29 changed files with 36 additions and 36 deletions

View File

@@ -472,7 +472,7 @@ impl<'a> ExtCtxt<'a> {
}
/// Emit `msg` attached to `sp`, and stop compilation immediately.
///
/// `span_err` should be strongly prefered where-ever possible:
/// `span_err` should be strongly preferred where-ever possible:
/// this should *only* be used when
/// - continuing has a high risk of flow-on errors (e.g. errors in
/// declaring a macro would cause all uses of that macro to

View File

@@ -834,7 +834,7 @@ impl<'a> MethodDef<'a> {
generic `deriving`");
}
// `ref` inside let matches is buggy. Causes havoc wih rusc.
// `ref` inside let matches is buggy. Causes havoc with rusc.
// let (variant_index, ref self_vec) = matches_so_far[0];
let (variant, self_vec) = match matches_so_far.get(0) {
&(_, v, ref s) => (v, s)

View File

@@ -1295,7 +1295,7 @@ mod test {
}
// create a really evil test case where a $x appears inside a binding of $x
// but *shouldnt* bind because it was inserted by a different macro....
// but *shouldn't* bind because it was inserted by a different macro....
// can't write this test case until we have macro-generating macros.
// FIXME #9383 : lambda var hygiene