]> git.lizzy.rs Git - rust.git/commitdiff
Fix lint descriptions.
authorJay Hardee <hardeejj9@gmail.com>
Sat, 22 Jul 2017 23:49:47 +0000 (19:49 -0400)
committerJay Hardee <hardeejj9@gmail.com>
Sat, 22 Jul 2017 23:49:47 +0000 (19:49 -0400)
clippy_lints/src/literal_digit_grouping.rs

index 1b38c5265a908a65deb287dd29e43461b7e1a752..d6d93383d3bcc149a1846ccbdd0c20b85a3c5569 100644 (file)
@@ -6,7 +6,7 @@
 use syntax_pos;
 use utils::{span_help_and_lint, snippet_opt, in_external_macro};
 
-/// **What it does:** Warns if a long integral constant does not contain underscores.
+/// **What it does:** Warns if a long integral or floating-point constant does not contain underscores.
 ///
 /// **Why is this bad?** Reading long numbers is difficult without separators.
 ///
@@ -23,7 +23,7 @@
     "long integer literal without underscores"
 }
 
-/// **What it does:** Warns if an integral constant is grouped inconsistently with underscores.
+/// **What it does:** Warns if an integral or floating-point constant is grouped inconsistently with underscores.
 ///
 /// **Why is this bad?** Readers may incorrectly interpret inconsistently grouped digits.
 ///
@@ -40,7 +40,7 @@
     "integer literals with digits grouped inconsistently"
 }
 
-/// **What it does:** Warns if the digits of an integral constant are grouped into groups that
+/// **What it does:** Warns if the digits of an integral or floating-point constant are grouped into groups that
 /// are too large.
 ///
 /// **Why is this bad?** Negatively impacts readability.