From aa75d02ae3fdc74588acbb9075fb2f94f185ef53 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 20 Mar 2023 10:00:24 +0100 Subject: [PATCH] feat(sdk): `SlidingSyncList::handle_response` must be `pub(self)`. This method must be only visible to the current module, not from the upper/super module. Note: `pub(self)` is equivalent to no `pub` at all. --- crates/matrix-sdk/src/sliding_sync/list/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/sliding_sync/list/mod.rs b/crates/matrix-sdk/src/sliding_sync/list/mod.rs index 6c30c8ed3..0a9a2994c 100644 --- a/crates/matrix-sdk/src/sliding_sync/list/mod.rs +++ b/crates/matrix-sdk/src/sliding_sync/list/mod.rs @@ -313,7 +313,7 @@ impl SlidingSyncList { } #[instrument(skip(self, ops), fields(name = self.name, ops_count = ops.len()))] - pub(super) fn handle_response( + fn handle_response( &self, maximum_number_of_rooms: u32, ops: &Vec,