WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 0c78ff7

Browse files
committed
fix: linting space_id usage in the tests
1 parent 7988010 commit 0c78ff7

File tree

1 file changed

+1
-1
lines changed
  • crates/matrix-sdk-ui/src/spaces

1 file changed

+1
-1
lines changed

crates/matrix-sdk-ui/src/spaces/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ mod tests {
939939
// Ensure internal state is populated.
940940
_ = space_service.joined_spaces().await;
941941

942-
let found = space_service.space_room_for_id(&space_id).await;
942+
let found = space_service.space_room_for_id(space_id).await;
943943
assert!(found.is_some());
944944

945945
let expected = SpaceRoom::new_from_known(&client.get_room(space_id).unwrap(), 0);

0 commit comments

Comments
 (0)