Skip to content

Commit

Permalink
these aren't supposed to be futures
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Sep 11, 2024
1 parent b7d293c commit 050cbd0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/context/config/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl<T: Transport> ClientRequest<'_, '_, T> {
}

impl<T: Transport> ContextConfigMutateClient<'_, T> {
pub async fn add_context<'a>(
pub fn add_context<'a>(
&self,
context_id: ContextId,
author_id: ContextIdentity,
Expand All @@ -240,7 +240,7 @@ impl<T: Transport> ContextConfigMutateClient<'_, T> {
ClientRequest { client: self, kind }
}

pub async fn update_application<'a>(
pub fn update_application<'a>(
&self,
context_id: ContextId,
application: Application<'a>,
Expand All @@ -253,7 +253,7 @@ impl<T: Transport> ContextConfigMutateClient<'_, T> {
ClientRequest { client: self, kind }
}

pub async fn add_members(
pub fn add_members(
&self,
context_id: ContextId,
members: &[ContextIdentity],
Expand All @@ -270,7 +270,7 @@ impl<T: Transport> ContextConfigMutateClient<'_, T> {
ClientRequest { client: self, kind }
}

pub async fn remove_members(
pub fn remove_members(
&self,
context_id: ContextId,
members: &[ContextIdentity],
Expand All @@ -287,7 +287,7 @@ impl<T: Transport> ContextConfigMutateClient<'_, T> {
ClientRequest { client: self, kind }
}

pub async fn grant(
pub fn grant(
&self,
context_id: ContextId,
capabilities: &[(ContextIdentity, Capability)],
Expand All @@ -304,7 +304,7 @@ impl<T: Transport> ContextConfigMutateClient<'_, T> {
ClientRequest { client: self, kind }
}

pub async fn revoke(
pub fn revoke(
&self,
context_id: ContextId,
capabilities: &[(ContextIdentity, Capability)],
Expand Down

0 comments on commit 050cbd0

Please sign in to comment.