diff --git a/src/02_execution/05_io.md b/src/02_execution/05_io.md index 196b203b..808fd14b 100644 --- a/src/02_execution/05_io.md +++ b/src/02_execution/05_io.md @@ -84,7 +84,7 @@ event occurs. In the case of our `SocketRead` example above, the impl Socket { fn set_readable_callback(&self, waker: Waker) { // `local_executor` is a reference to the local executor. - // this could be provided at creation of the socket, but in practice + // This could be provided at creation of the socket, but in practice // many executor implementations pass it down through thread local // storage for convenience. let local_executor = self.local_executor; diff --git a/src/06_multiple_futures/02_join.md b/src/06_multiple_futures/02_join.md index c881826e..b88c88a9 100644 --- a/src/06_multiple_futures/02_join.md +++ b/src/06_multiple_futures/02_join.md @@ -3,7 +3,7 @@ The `futures::join` macro makes it possible to wait for multiple different futures to complete while executing them all concurrently. -# `join!` +## `join!` When performing multiple asynchronous operations, it's tempting to simply `.await` them in a series: