Skip to content

Commit

Permalink
Fix typo in example: as_writeable_bytes -> as_writable_bytes
Browse files Browse the repository at this point in the history
Fixes #217
  • Loading branch information
lewissbaker authored Jul 4, 2024
1 parent 5929840 commit 04215ba
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 04215ba

Please sign in to comment.