You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Contributing to rust-clippy
1
+
# Contributing to Clippy
2
2
3
3
Hello fellow Rustacean! Great to see your interest in compiler internals and lints!
4
4
@@ -63,7 +63,7 @@ an AST expression). `match_def_path()` in Clippy's `utils` module can also be us
63
63
64
64
## Writing code
65
65
66
-
Compiling clippy from scratch can take almost a minute or more depending on your machine.
66
+
Compiling Clippy from scratch can take almost a minute or more depending on your machine.
67
67
However, since Rust 1.24.0 incremental compilation is enabled by default and compile times for small changes should be quick.
68
68
69
69
[Llogiq's blog post on lints](https://llogiq.github.io/2015/06/04/workflows.html) is a nice primer
@@ -74,7 +74,7 @@ of this.
74
74
75
75
### Author lint
76
76
77
-
There is also the internal `author` lint to generate clippy code that detects the offending pattern. It does not work for all of the Rust syntax, but can give a good starting point.
77
+
There is also the internal `author` lint to generate Clippy code that detects the offending pattern. It does not work for all of the Rust syntax, but can give a good starting point.
78
78
79
79
First, create a new UI test file in the `tests/ui/` directory with the pattern you want to match:
80
80
@@ -148,7 +148,7 @@ Therefore you should use `tests/ui/update-all-references.sh` (after running
148
148
### Testing manually
149
149
150
150
Manually testing against an example file is useful if you have added some
151
-
`println!`s and test suite output becomes unreadable. To try clippy with your
151
+
`println!`s and test suite output becomes unreadable. To try Clippy with your
152
152
local modifications, run `cargo run --bin clippy-driver -- -L ./target/debug input.rs` from the
Copy file name to clipboardExpand all lines: README.md
+15-15
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
We are currently in the process of discussing Clippy 1.0 via the RFC process in https://github.com/rust-lang/rfcs/pull/2476 . The RFC's goal is to clarify policies around lint categorizations and the policy around which lints should be in the compiler and which lints should be in clippy. Please leave your thoughts on the RFC PR.
1
+
We are currently in the process of discussing Clippy 1.0 via the RFC process in https://github.com/rust-lang/rfcs/pull/2476 . The RFC's goal is to clarify policies around lint categorizations and the policy around which lints should be in the compiler and which lints should be in Clippy. Please leave your thoughts on the RFC PR.
0 commit comments