Skip to content

Commit ecf931f

Browse files
committed
Auto merge of rust-lang#7993 - homersimpsons:patch-1, r=flip1995
`no_std_swap`: Fix typo in TODO changelog: none
2 parents abaffa7 + 522f3f9 commit ecf931f

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)