From 14dcb60bf8c68dda34bb22894534f4d9b83e60df Mon Sep 17 00:00:00 2001 From: mcarton Date: Wed, 9 Mar 2016 11:48:55 +0100 Subject: [PATCH] s/Clippy.toml/clippy.toml --- README.md | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 93edf4a81..52223ef09 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ And, in your `main.rs` or `lib.rs`: ``` ## Configuration -Some lints can be configured in a `Clippy.toml` file. It contains basic `variable = value` mapping eg. +Some lints can be configured in a `clippy.toml` file. It contains basic `variable = value` mapping eg. ```toml blacklisted-names = ["toto", "tata", "titi"] diff --git a/src/lib.rs b/src/lib.rs index d65294b56..f5a3598a1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -114,12 +114,12 @@ mod reexport { pub fn plugin_registrar(reg: &mut Registry) { let conf = match utils::conf::conf_file(reg.args()) { Ok(file_name) => { - // if the user specified a file, it must exist, otherwise default to `Clippy.toml` but + // if the user specified a file, it must exist, otherwise default to `clippy.toml` but // do not require the file to exist let (ref file_name, must_exist) = if let Some(ref file_name) = file_name { (&**file_name, true) } else { - ("Clippy.toml", false) + ("clippy.toml", false) }; let (conf, errors) = utils::conf::read_conf(&file_name, must_exist);