chore(sdk): Change visibility of SlidingSyncList::invalidate_sticky_data.

This patch changes the visibility of
`SlidingSyncList::invalidate_sticky_data` from `pub` to `pub(super)`.
This is the only place where it must be accessible from.
This commit is contained in:
Ivan Enderlin
2024-08-12 11:56:24 +02:00
parent 0a28c222f5
commit 0b9e07a386

View File

@@ -184,7 +184,7 @@ impl SlidingSyncList {
/// Manually invalidate the sticky data, so the sticky parameters are
/// re-sent next time.
pub fn invalidate_sticky_data(&self) {
pub(super) fn invalidate_sticky_data(&self) {
let _ = self.inner.sticky.write().unwrap().data_mut();
}
}