Skip to content

Commit 7a858e4

Browse files
committed
Fix comments.
1 parent 1ffe802 commit 7a858e4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/sdk/src/db_connection.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub struct DbContextImpl<M: SpacetimeModule> {
8484
/// and have not yet received the [`ws::IdentityToken`] message.
8585
identity: SharedCell<Option<Identity>>,
8686

87-
/// This connection's `Identity`.
87+
/// This connection's `ConnectionId`.
8888
///
8989
/// This may be none if we have not yet received the [`ws::IdentityToken`] message.
9090
connection_id: SharedCell<Option<ConnectionId>>,
@@ -147,7 +147,6 @@ impl<M: SpacetimeModule> DbContextImpl<M> {
147147
}
148148
*conn_id_store = Some(conn_id);
149149
}
150-
// assert_eq!(get_connection_id(), conn_id);
151150
let mut inner = self.inner.lock().unwrap();
152151
if let Some(on_connect) = inner.on_connect.take() {
153152
let ctx = <M::DbConnection as DbConnection>::new(self.clone());

0 commit comments

Comments
 (0)