Browse Source

fix: rustfmt

Miles Murgaw 2 năm trước cách đây
mục cha
commit
06233ac550
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      packages/hooks/src/usecoroutine.rs

+ 2 - 2
packages/hooks/src/usecoroutine.rs

@@ -33,9 +33,9 @@ use std::future::Future;
 /// However, you must plan out your own concurrency and synchronization. If you
 /// don't care about actions in your app being synchronized, you can use [`use_callback`]
 /// hook to spawn multiple tasks and run them concurrently.
-/// 
+///
 /// ### Notice
-/// In order to use ``rx.next().await``, you will need to extend the ``Stream`` trait (used by ``UnboundedReceiver``) 
+/// In order to use ``rx.next().await``, you will need to extend the ``Stream`` trait (used by ``UnboundedReceiver``)
 /// by adding the ``futures-util`` crate as a dependency and adding ``StreamExt`` into scope via ``use futures_util::stream::StreamExt;``
 ///
 /// ## Example