From 9202b26d20d9ac1812189466a61b4da378b65429 Mon Sep 17 00:00:00 2001 From: Xavrax Date: Thu, 7 Sep 2023 11:10:14 +0200 Subject: [PATCH] remove no needed imports from docs --- src/dx/subscribe/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/dx/subscribe/mod.rs b/src/dx/subscribe/mod.rs index 28ee9b71..b79d8026 100644 --- a/src/dx/subscribe/mod.rs +++ b/src/dx/subscribe/mod.rs @@ -116,9 +116,9 @@ where /// groups by temporarily disconnecting from the [`PubNub`] network. /// /// ```no_run - /// use futures::StreamExt; - /// use pubnub::dx::subscribe::{SubscribeStreamEvent, Update}; - /// + /// # use futures::StreamExt; + /// # use pubnub::dx::subscribe::{SubscribeStreamEvent, Update}; + /// # /// # #[tokio::main] /// # async fn main() -> Result<(), Box> { /// # use pubnub::{Keyset, PubNubClientBuilder}; @@ -182,9 +182,9 @@ where /// and groups by restoring connection to the [`PubNub`] network. /// /// ```no_run - /// use futures::StreamExt; - /// use pubnub::dx::subscribe::{SubscribeStreamEvent, Update}; - /// + /// # use futures::StreamExt; + /// # use pubnub::dx::subscribe::{SubscribeStreamEvent, Update}; + /// # /// # #[tokio::main] /// # async fn main() -> Result<(), Box> { /// # use pubnub::{Keyset, PubNubClientBuilder};