Skip to content

Commit

Permalink
chore(ui) Allow a Clippy warning.
Browse files Browse the repository at this point in the history
We want to keep `apply_input` as before. It's no longer async but let's
keep it as is for the moment. That's a possible future clean up.
  • Loading branch information
Hywan committed Jun 27, 2024
1 parent 0e8e8a5 commit 2855ea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/matrix-sdk-ui/src/room_list_service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ impl RoomListService {
///
/// After some updates, these is no more `Input` but this API is kept in
/// case of a future necessity.
#[allow(clippy::unused_async)]
pub async fn apply_input(&self, _input: Input) -> Result<InputResult, Error> {
Ok(InputResult::Ignored)
}
Expand Down

0 comments on commit 2855ea0

Please sign in to comment.