about summary refs log tree commit diff
path: root/src/array_indexing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/array_indexing.rs')
-rw-r--r--src/array_indexing.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/array_indexing.rs b/src/array_indexing.rs
index d72adac943f..cfa52f390d2 100644
--- a/src/array_indexing.rs
+++ b/src/array_indexing.rs
@@ -42,8 +42,7 @@ impl LateLintPass for ArrayIndexing {
                 let index = eval_const_expr_partial(cx.tcx, &index, ExprTypeChecked, None);
                 if let Ok(ConstVal::Uint(index)) = index {
                     if size as u64 <= index {
-                        span_lint(cx, OUT_OF_BOUNDS_INDEXING, e.span,
-                                  "const index-expr is out of bounds");
+                        span_lint(cx, OUT_OF_BOUNDS_INDEXING, e.span, "const index-expr is out of bounds");
                     }
                 }
             }