Merge commit '371120bdbf' into clippyup
This commit is contained in:
parent
8518391e72
commit
7e9abb311d
152 changed files with 2226 additions and 440 deletions
|
|
@ -50,7 +50,7 @@ questions already, but the parser is okay with it. This is what we
|
|||
mean when we say `EarlyLintPass` deals with only syntax on the AST level.
|
||||
|
||||
Alternatively, think of the `foo_functions` lint we mentioned in
|
||||
define new lints chapter.
|
||||
define new lints <!-- FIXME: add link --> chapter.
|
||||
|
||||
We want the `foo_functions` lint to detect functions with `foo` as their name.
|
||||
Writing a lint that only checks for the name of a function means that we only
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ whether the pattern matched.
|
|||
|
||||
## Pattern syntax
|
||||
|
||||
The following examples demonstate the pattern syntax:
|
||||
The following examples demonstrate the pattern syntax:
|
||||
|
||||
|
||||
#### Any (`_`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue