Skip to content

Commit 757bd23

Browse files
Remove trailing whitespace
1 parent 9e345a5 commit 757bd23

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

compiler/rustc_mir/src/borrow_check/diagnostics/conflict_errors.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,11 +1331,13 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
13311331
}
13321332
ConstraintCategory::CallArgument => {
13331333
fr_name.highlight_region_name(&mut err);
1334-
if matches!(use_span.generator_kind(), Some(generator_kind)
1334+
if matches!(use_span.generator_kind(), Some(generator_kind)
13351335
if matches!(generator_kind, GeneratorKind::Async(_)))
13361336
{
1337-
err.note("async blocks are not executed immediately and either must take a \
1338-
reference or ownership of outside variables they use");
1337+
err.note(
1338+
"async blocks are not executed immediately and either must take a \
1339+
reference or ownership of outside variables they use",
1340+
);
13391341
err.help("see https://rust-lang.github.io/async-book/03_async_await/01_chapter.html#awaiting-on-a-multithreaded-executor \
13401342
for more information");
13411343
} else {

0 commit comments

Comments
 (0)