Skip to content

Commit 522f3f9

Browse files
homersimpsonsflip1995
authored andcommitted
no_std_swap: Remove obsolete TODO from test
1 parent abaffa7 commit 522f3f9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/ui/crate_level_checks/no_std_swap.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use core::panic::PanicInfo;
66

77
#[warn(clippy::all)]
88
fn main() {
9-
// TODO: do somethjing with swap
109
let mut a = 42;
1110
let mut b = 1337;
1211

tests/ui/crate_level_checks/no_std_swap.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: this looks like you are trying to swap `a` and `b`
2-
--> $DIR/no_std_swap.rs:13:5
2+
--> $DIR/no_std_swap.rs:12:5
33
|
44
LL | / a = b;
55
LL | | b = a;

0 commit comments

Comments
 (0)