Skip to content

Commit c10ba48

Browse files
committed
fixed some formatting issues
1 parent dee6954 commit c10ba48

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/issues-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ the respective issue):
9696

9797
- the wording is unclear
9898
- fix: two versions
99-
- comment: I think I had the 2nd in mind
99+
- comment: I think I had the 2nd in mind
100100

101101
=> allow affine_on to complete inline regardless that's the difference to continues_on
102102
in addition it can be customized separately
@@ -117,7 +117,7 @@ the respective issue):
117117
- non-success completions don't guarantee affinity invariant
118118
- fix: suppress stop token
119119
- comment: in case of `set_stopped()` the coroutine doesn't resume; for `set_error(e)` other reasons may exist
120-
- comment: however, I don't object to this direction
120+
- comment: however, I don't object to this direction
121121

122122
=> this requirement needs to align with what continues_on does
123123
- the actual conclusion is: affine_on may need to do what continues_on does

examples/issue-frame-allocator.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ template <typename Env>
1313
ex::task<int, Env> test(int i, auto&&...) {
1414
co_return co_await ex::just(i);
1515
}
16-
struct default_env {};
17-
struct allocator_env {
18-
using allocator_type = std::pmr::polymorphic_allocator<>;
19-
};
16+
struct default_env {};
17+
struct allocator_env {
18+
using allocator_type = std::pmr::polymorphic_allocator<>;
19+
};
2020

2121
int main() {
2222
ex::sync_wait(test<default_env>(17)); // OK: no allocator

examples/issue-symmetric-transfer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ int main() {
2020
struct inline_env {
2121
using scheduler_type = ex::inline_scheduler;
2222
};
23-
[[maybe_unused]] inline_env ev{};
23+
[[maybe_unused]] inline_env ev{};
2424
[[maybe_unused]] inline_env::scheduler_type sched{};
2525
ex::sync_wait(test<affine_env>()); // OK
2626
// ex::sync_wait(test<inline_env>()); // error: stack overflow

0 commit comments

Comments
 (0)