Skip to content

Commit ee55628

Browse files
authored
[exec.stopped.opt,exec.stopped.err] Fix indentation (#7897)
1 parent 98c464d commit ee55628

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/exec.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4459,11 +4459,11 @@
44594459
auto&& [_, _, child] = sndr;
44604460
using V = @\exposid{single-sender-value-type}@<Sndr, Env>;
44614461
return let_stopped(
4462-
then(std::forward_like<Sndr>(child),
4463-
[]<class... Ts>(Ts&&... ts) noexcept(is_nothrow_constructible_v<V, Ts...>) {
4464-
return optional<V>(in_place, std::forward<Ts>(ts)...);
4465-
}),
4466-
[]() noexcept { return just(optional<V>()); });
4462+
then(std::forward_like<Sndr>(child),
4463+
[]<class... Ts>(Ts&&... ts) noexcept(is_nothrow_constructible_v<V, Ts...>) {
4464+
return optional<V>(in_place, std::forward<Ts>(ts)...);
4465+
}),
4466+
[]() noexcept { return just(optional<V>()); });
44674467
\end{codeblock}
44684468

44694469
\rSec3[exec.stopped.err]{\tcode{execution::stopped_as_error}}
@@ -4501,10 +4501,10 @@
45014501
auto&& [_, err, child] = sndr;
45024502
using E = decltype(auto(err));
45034503
return let_stopped(
4504-
std::forward_like<Sndr>(child),
4505-
[err = std::forward_like<Sndr>(err)]() mutable noexcept(is_nothrow_move_constructible_v<E>) {
4506-
return just_error(std::move(err));
4507-
});
4504+
std::forward_like<Sndr>(child),
4505+
[err = std::forward_like<Sndr>(err)]() mutable noexcept(is_nothrow_move_constructible_v<E>) {
4506+
return just_error(std::move(err));
4507+
});
45084508
\end{codeblock}
45094509

45104510
\rSec2[exec.consumers]{Sender consumers}

0 commit comments

Comments
 (0)