Fix some typos

This commit is contained in:
mcarton 2015-12-21 20:47:19 +01:00
parent cd3c649adb
commit 826827fe94
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ Also please document your lint with a doc comment akin to the following:
/// **Example:** Insert a short example if you have one
```
Our `util/update_wiki.py` script can then add your ilnt docs to the wiki.
Our `util/update_wiki.py` script can then add your lint docs to the wiki.
## Contributions

View File

@ -11,7 +11,7 @@ use utils::span_lint;
/// **What it does:** This lint checks for incompatible bit masks in comparisons. It is `Warn` by default.
///
/// The formula for detecting if an expression of the type `_ <bit_op> m <cmp_op> c` (where `<bit_op>`
/// is one of {`&`, '|'} and `<cmp_op>` is one of {`!=`, `>=`, `>`, `!=`, `>=`, `>`}) can be determined from the following table:
/// is one of {`&`, `|`} and `<cmp_op>` is one of {`!=`, `>=`, `>`, `!=`, `>=`, `>`}) can be determined from the following table:
///
/// |Comparison |Bit-Op|Example |is always|Formula |
/// |------------|------|------------|---------|----------------------|

View File

@ -10,7 +10,7 @@ use utils::span_lint;
///
/// **Known problems:** None.
///
/// **Example:** `Point { x: 1, y: 0, ..zero_point }``
/// **Example:** `Point { x: 1, y: 0, ..zero_point }`
declare_lint! {
pub NEEDLESS_UPDATE,
Warn,