about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-15 15:12:14 +0000
committerbors <bors@rust-lang.org>2020-02-15 15:12:14 +0000
commit779b6aeaa62d7d832bb791c7d92ed11d43f4873a (patch)
tree598e2a66857331251f8f7c096be18dfbfe3f417c
parent933a0a9ad59125a35c49c2da910cf2a55f88dc2c (diff)
parentaef266289680ba39b41fd1e3333b572c84bc67aa (diff)
downloadrust-779b6aeaa62d7d832bb791c7d92ed11d43f4873a.tar.gz
rust-779b6aeaa62d7d832bb791c7d92ed11d43f4873a.zip
Auto merge of #4809 - iankronquist:patch-1, r=flip1995
Typo in literal_representation.rs

Octal numbers can't have 8 in them ;)

changelog: none
-rw-r--r--clippy_lints/src/literal_representation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/literal_representation.rs b/clippy_lints/src/literal_representation.rs
index 27cb7d21957..2419d42394e 100644
--- a/clippy_lints/src/literal_representation.rs
+++ b/clippy_lints/src/literal_representation.rs
@@ -35,7 +35,7 @@ declare_clippy_lint! {
     /// **Known problems:**
     /// - Recommends a signed suffix, even though the number might be too big and an unsigned
     ///   suffix is required
-    /// - Does not match on `_128` since that is a valid grouping for decimal and octal numbers
+    /// - Does not match on `_127` since that is a valid grouping for decimal and octal numbers
     ///
     /// **Example:**
     ///