Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update verify_access_token doc comment

Max Brunsfeld93d068a7467c
diff --git a/crates/collab/src/auth.rs b/crates/collab/src/auth.rs
index e6c43df73c6..dc0374df6a7 100644
--- a/crates/collab/src/auth.rs
+++ b/crates/collab/src/auth.rs
@@ -176,7 +176,7 @@ pub struct VerifyAccessTokenResult {
pub impersonator_id: Option<UserId>,
}
-/// verify access token returns true if the given token is valid for the given user.
+/// Checks that the given access token is valid for the given user.
pub async fn verify_access_token(
token: &str,
user_id: UserId,