enable clippy::must_use_candidate, add #[must_use] to the 3 flagged fns
This commit is contained in:
parent
760e5ad4cc
commit
c661d699ad
4 changed files with 3 additions and 1 deletions
|
|
@ -628,6 +628,7 @@ pub async fn list_room_members(client: &Client, room_ref: &str) -> DaemonRespons
|
|||
DaemonResponse::ok(&list)
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn list_invites(client: &Client) -> DaemonResponse {
|
||||
let invites: Vec<InviteInfo> = client
|
||||
.invited_rooms()
|
||||
|
|
|
|||
Loading…
Reference in a new issue