File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ impl Client {
126
126
/// # Errors
127
127
///
128
128
/// Will return `Err` if the connection actor has already been shut down.
129
- pub async fn stop ( self , subscription_id : SubscriptionId ) -> Result < ( ) , Error > {
129
+ pub async fn stop ( & self , subscription_id : SubscriptionId ) -> Result < ( ) , Error > {
130
130
self . actor
131
131
. send ( ConnectionCommand :: Cancel ( subscription_id) )
132
132
. await
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ impl<Operation> Subscription<Operation>
41
41
where
42
42
Operation : GraphqlOperation + Send ,
43
43
{
44
- /// Returns the identifier for this subscription.
44
+ /// Returns the identifier for this subscription.
45
45
///
46
46
/// This can be used with [`crate::Client::stop`] to stop
47
47
/// a running subscription without needing access to the `Subscription`
You can’t perform that action at this time.
0 commit comments