summaryrefslogtreecommitdiff
path: root/src/tools/clippy/tests/ui/let_with_type_underscore.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/let_with_type_underscore.rs')
-rw-r--r--src/tools/clippy/tests/ui/let_with_type_underscore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/let_with_type_underscore.rs b/src/tools/clippy/tests/ui/let_with_type_underscore.rs
index 175718b94c8..7c1835e8cd1 100644
--- a/src/tools/clippy/tests/ui/let_with_type_underscore.rs
+++ b/src/tools/clippy/tests/ui/let_with_type_underscore.rs
@@ -12,7 +12,7 @@ fn main() {
let _: _ = 2;
let x: _ = func();
- let x = 1; // Will not lint, Rust inferres this to an integer before Clippy
+ let x = 1; // Will not lint, Rust infers this to an integer before Clippy
let x = func();
let x: Vec<_> = Vec::<u32>::new();
let x: [_; 1] = [1];