Skip to content

Commit 14dcb60

Browse files
committed
s/Clippy.toml/clippy.toml
1 parent aa4daea commit 14dcb60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ And, in your `main.rs` or `lib.rs`:
236236
```
237237

238238
## Configuration
239-
Some lints can be configured in a `Clippy.toml` file. It contains basic `variable = value` mapping eg.
239+
Some lints can be configured in a `clippy.toml` file. It contains basic `variable = value` mapping eg.
240240

241241
```toml
242242
blacklisted-names = ["toto", "tata", "titi"]

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ mod reexport {
114114
pub fn plugin_registrar(reg: &mut Registry) {
115115
let conf = match utils::conf::conf_file(reg.args()) {
116116
Ok(file_name) => {
117-
// if the user specified a file, it must exist, otherwise default to `Clippy.toml` but
117+
// if the user specified a file, it must exist, otherwise default to `clippy.toml` but
118118
// do not require the file to exist
119119
let (ref file_name, must_exist) = if let Some(ref file_name) = file_name {
120120
(&**file_name, true)
121121
} else {
122-
("Clippy.toml", false)
122+
("clippy.toml", false)
123123
};
124124

125125
let (conf, errors) = utils::conf::read_conf(&file_name, must_exist);

0 commit comments

Comments
 (0)