about summary refs log tree commit diff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 76c04d53a0b..2ac8e9044db 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,7 +5,9 @@
 
 // this only exists to allow the "dogfood" integration test to work
 #[allow(dead_code)]
-fn main() { println!("What are you doing? Don't run clippy as an executable"); }
+fn main() {
+    println!("What are you doing? Don't run clippy as an executable");
+}
 
 #[macro_use]
 extern crate syntax;
@@ -128,7 +130,8 @@ pub fn plugin_registrar(reg: &mut Registry) {
     reg.register_late_lint_pass(box array_indexing::ArrayIndexing);
     reg.register_late_lint_pass(box panic::PanicPass);
 
-    reg.register_lint_group("clippy_pedantic", vec![
+    reg.register_lint_group("clippy_pedantic",
+                            vec![
         methods::OPTION_UNWRAP_USED,
         methods::RESULT_UNWRAP_USED,
         methods::WRONG_PUB_SELF_CONVENTION,
@@ -147,7 +150,8 @@ pub fn plugin_registrar(reg: &mut Registry) {
         unicode::UNICODE_NOT_NFC,
     ]);
 
-    reg.register_lint_group("clippy", vec![
+    reg.register_lint_group("clippy",
+                            vec![
         approx_const::APPROX_CONSTANT,
         array_indexing::OUT_OF_BOUNDS_INDEXING,
         attrs::INLINE_ALWAYS,