Skip to content

Commit e84af77

Browse files
authored
Merge pull request #267 from cplusplus/typo-fix-217
Fix typo in example: as_writeable_bytes -> as_writable_bytes
2 parents 5929840 + 04215ba commit e84af77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

execution.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ struct dynamic_buffer { //
389389
sender_of<dynamic_buffer> auto async_read_array(auto handle) { // 2
390390
return just(dynamic_buffer{}) // 4
391391
| let_value([handle] (dynamic_buffer& buf) { // 5
392-
return just(std::as_writeable_bytes(std::span(&buf.size, 1))) // 6
392+
return just(std::as_writable_bytes(std::span(&buf.size, 1))) // 6
393393
| async_read(handle) // 7
394394
| then( // 8
395395
[&buf] (std::size_t bytes_read) { // 9

0 commit comments

Comments
 (0)