Skip to content

Commit 34807ad

Browse files
committed
fix typo in std::stop_source constructor
1 parent 5bc091a commit 34807ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reference/stop_token/stop_source/op_constructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stop_source(stop_source&& rhs) noexcept; // (4)
2222
## 事後条件
2323
- (1) : [`stop_possible()`](stop_possible.md) `==` `true` かつ[`stop_requested()`](stop_requested.md) `==` `false`。
2424
- (2) : [`stop_possible()`](stop_possible.md) `==` `false` かつ[`stop_requested()`](stop_requested.md) `==` `false`。
25-
- (2) : `*this` `==` `rhs`。(`rhs`が停止状態を所有していれば、`*this`と`rhs`は同じ停止状態を共有するようになる)
25+
- (3) : `*this` `==` `rhs`。(`rhs`が停止状態を所有していれば、`*this`と`rhs`は同じ停止状態を共有するようになる)
2626
- (4) : もし`rhs`が停止状態を所有していればその所有権が`*this`へ移動し、`rhs.`[`stop_possible()`](stop_possible.md) `==` `false`となる。
2727
2828
## 例外

0 commit comments

Comments
 (0)