Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions bindings/matrix-sdk-ffi/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// TODO: target-os conditional would be good.

#![allow(unused_qualifications, clippy::new_without_default)]
#![allow(clippy::empty_line_after_doc_comments)] // Needed because uniffi macros contain empty
// lines after docs.
// Needed because uniffi macros contain empty lines after docs.
#![allow(clippy::empty_line_after_doc_comments)]

mod authentication;
mod chunk_iterator;
Expand Down
2 changes: 1 addition & 1 deletion crates/matrix-sdk-base/src/room/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ use ruma::{
direct::OwnedDirectUserIdentifier,
receipt::{Receipt, ReceiptThread, ReceiptType},
room::{
avatar::{self},
avatar,
guest_access::GuestAccess,
history_visibility::HistoryVisibility,
join_rules::JoinRule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ use futures_core::Stream;
use futures_util::StreamExt;
use matrix_sdk_common::store_locks::CrossProcessStoreLock;
use ruma::{DeviceId, OwnedDeviceId, OwnedUserId, UserId};
use tokio::sync::{
broadcast::{self},
Mutex,
};
use tokio::sync::{broadcast, Mutex};
use tokio_stream::wrappers::{errors::BroadcastStreamRecvError, BroadcastStream};
use tracing::{debug, trace, warn};

Expand Down
4 changes: 2 additions & 2 deletions crates/matrix-sdk/src/widget/machine/driver_req.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ where
MatrixDriverResponse: TryInto<T>,
{
fn from_response(response: MatrixDriverResponse) -> Option<Self> {
response.try_into().ok() // Delegates to the existing TryInto
// implementation
// Delegates to the existing TryInto implementation
response.try_into().ok()
}
}

Expand Down
Loading