]> git.lizzy.rs Git - rust.git/commitdiff
s/Clippy.toml/clippy.toml
authormcarton <cartonmartin+git@gmail.com>
Wed, 9 Mar 2016 10:48:55 +0000 (11:48 +0100)
committermcarton <cartonmartin+git@gmail.com>
Sat, 12 Mar 2016 13:52:09 +0000 (14:52 +0100)
README.md
src/lib.rs

index 93edf4a81faacc5b5d965d88ea95cd958821532b..52223ef097b817660a402e5f7ae0a84f9dc3d6a0 100644 (file)
--- 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"]
index d65294b56b88c2ae9840e26e96544fe6354b37dc..f5a3598a1ba0a63a4d685a49f6352b947a897ecb 100644 (file)
@@ -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);