From 04215ba5ee88ab01a2283d476ac2755febde4d5c Mon Sep 17 00:00:00 2001 From: Lewis Baker Date: Thu, 4 Jul 2024 13:21:48 +0930 Subject: [PATCH] Fix typo in example: as_writeable_bytes -> as_writable_bytes Fixes #217 --- execution.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execution.bs b/execution.bs index 6c8f298..ff4cc0b 100644 --- a/execution.bs +++ b/execution.bs @@ -389,7 +389,7 @@ struct dynamic_buffer { // sender_of 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