Skip to content

Commit

Permalink
Merge pull request #267 from cplusplus/typo-fix-217
Browse files Browse the repository at this point in the history
Fix typo in example: as_writeable_bytes -> as_writable_bytes
  • Loading branch information
ericniebler authored Jul 4, 2024
2 parents 5929840 + 04215ba commit e84af77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion execution.bs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ struct dynamic_buffer { //
sender_of<dynamic_buffer> auto async_read_array(auto handle) { // 2
return just(dynamic_buffer{}) // 4
| let_value([handle] (dynamic_buffer& buf) { // 5
return just(std::as_writeable_bytes(std::span(&buf.size, 1))) // 6
return just(std::as_writable_bytes(std::span(&buf.size, 1))) // 6
| async_read(handle) // 7
| then( // 8
[&buf] (std::size_t bytes_read) { // 9
Expand Down

0 comments on commit e84af77

Please sign in to comment.