This website works better with JavaScript.
Home
Explore
Help
Sign In
titouan
/
solstice
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Suppress last warnings.
wip
Titouan Rigoudy
4 years ago
parent
bb73e71da2
commit
1b5928a54a
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
client/src/room.rs
+1
-0
client/src/user.rs
+ 1
- 0
client/src/room.rs
View File
@ -321,6 +321,7 @@ impl RoomMap {
Ok
(
room
)
}
#[
allow(dead_code)
]
/// Records that we are now trying to leave the given room.
/// If the room is not found, or if its membership status is not `Member`,
/// returns an error.
+ 1
- 0
client/src/user.rs
View File
@ -77,6 +77,7 @@ impl UserMap {
Ok
(
(
)
)
}
#[
cfg(test)
]
/// Returns the list of (user name, user data) representing all known users.
pub
fn
get_list
(
&
self
)
->
Vec
<
(
String
,
User
)
>
{
let
mut
users
=
Vec
::
new
(
)
;
Write
Preview
Loading…
Cancel
Save