Skip to content

Commit 95613e3

Browse files
committed
Remove unnecessary mut.
The value is moved in pin!().
1 parent 9d28fe3 commit 95613e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/ui/sanitizer/cfi/coroutine.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use std::async_iter::AsyncIterator;
2626

2727
#[test]
2828
fn general_coroutine() {
29-
let mut coro = #[coroutine] |x: i32| {
29+
let coro = #[coroutine] |x: i32| {
3030
yield x;
3131
"done"
3232
};

0 commit comments

Comments
 (0)