Skip to content

Commit e8d4c8e

Browse files
authored
[exec.connect] Fix formatting of "fn" in connect-awaitable (#8207)
1 parent 19ff169 commit e8d4c8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/exec.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,13 +2816,13 @@
28162816
auto fn = [&, fun]() noexcept { fun(std::forward<Ts>(as)...); };
28172817

28182818
struct awaiter {
2819-
decltype(@\exposid{fn}@) @\exposid{fn}@; // \expos
2819+
decltype(fn) @\exposid{fn}@; // \expos
28202820

28212821
static constexpr bool await_ready() noexcept { return false; }
28222822
void await_suspend(coroutine_handle<>) noexcept { @\exposid{fn}@(); }
28232823
[[noreturn]] void await_resume() noexcept { unreachable(); }
28242824
};
2825-
return awaiter{@\exposid{fn}@};
2825+
return awaiter{fn};
28262826
}
28272827

28282828
@\exposid{operation-state-task}@ @\exposid{connect-awaitable}@(DS sndr, DR rcvr) requires @\libconcept{receiver_of}@<DR, Sigs> {

0 commit comments

Comments
 (0)