diff --git a/bindings_ffi/src/mls.rs b/bindings_ffi/src/mls.rs index e3c923331..c64c70107 100644 --- a/bindings_ffi/src/mls.rs +++ b/bindings_ffi/src/mls.rs @@ -2094,7 +2094,7 @@ impl FfiStreamCloser { self.abort_handle.end(); } - /// End the stream and asyncronously wait for it to shutdown + /// End the stream and asynchronously wait for it to shutdown pub async fn end_and_wait(&self) -> Result<(), GenericError> { use xmtp_mls::StreamHandleError::*; use GenericError::Generic; diff --git a/bindings_node/src/streams.rs b/bindings_node/src/streams.rs index 782f85edc..472c99d50 100644 --- a/bindings_node/src/streams.rs +++ b/bindings_node/src/streams.rs @@ -39,7 +39,7 @@ impl StreamCloser { /// End the stream and `await` for it to shutdown /// Returns the `Result` of the task. - /// End the stream and asyncronously wait for it to shutdown + /// End the stream and asynchronously wait for it to shutdown #[napi] pub async fn end_and_wait(&self) -> Result<(), Error> { use StreamHandleError::*; diff --git a/xmtp_mls/src/stream_handles.rs b/xmtp_mls/src/stream_handles.rs index a42af78e0..666b5d089 100644 --- a/xmtp_mls/src/stream_handles.rs +++ b/xmtp_mls/src/stream_handles.rs @@ -31,7 +31,7 @@ pub trait StreamHandle { /// The Output type for the stream type StreamOutput; - /// Asyncronously waits for the stream to be fully spawned + /// Asynchronously waits for the stream to be fully spawned async fn wait_for_ready(&mut self); /// Signal the stream to end /// Does not wait for the stream to end, so will not receive the result of stream. @@ -47,7 +47,7 @@ pub trait StreamHandle { /// Join the task back to the current thread, waiting until it ends. async fn join(self) -> Result; - /// End the stream and asyncronously wait for it to shutdown, getting the result of its + /// End the stream and asynchronously wait for it to shutdown, getting the result of its /// execution. async fn end_and_wait(&mut self) -> Result; /// Get an Abort Handle to the stream. @@ -146,7 +146,7 @@ mod wasm { /// Spawn a future on the `wasm-bindgen` local current-thread executer /// future does not require `Send`. - /// optionally pass in `ready` to signal whne stream will be ready. + /// optionally pass in `ready` to signal when stream will be ready. pub fn spawn( ready: Option>, future: F,