Skip to content

Commit 5ccdf7d

Browse files
committed
fixup! client
1 parent c8f2321 commit 5ccdf7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/matrix-sdk-base/src/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ impl BaseClient {
249249
}
250250

251251
/// Get a reference to the store.
252-
#[allow(unknown_lints, clippy::explicit_auto_deref)]
253252
pub fn store(&self) -> &DynStateStore {
254253
self.store.deref()
255254
}

crates/matrix-sdk-base/src/event_cache_store/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub struct EventCacheStoreLock {
5151
store: Arc<DynEventCacheStore>,
5252
}
5353

54+
#[cfg(not(tarpaulin_include))]
5455
impl fmt::Debug for EventCacheStoreLock {
5556
fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
5657
formatter.debug_struct("EventCacheStoreLock").finish_non_exhaustive()
@@ -95,6 +96,7 @@ pub struct EventCacheStoreLockGuard<'a> {
9596
store: &'a DynEventCacheStore,
9697
}
9798

99+
#[cfg(not(tarpaulin_include))]
98100
impl<'a> fmt::Debug for EventCacheStoreLockGuard<'a> {
99101
fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
100102
formatter.debug_struct("EventCacheStoreLockGuard").finish_non_exhaustive()

0 commit comments

Comments
 (0)