mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-08 07:56:55 -04:00
matrix-sdk: Fix the arguments docs for sync_with_callback.
This commit is contained in:
@@ -1444,8 +1444,8 @@ impl Client {
|
||||
/// * `callback` - A callback that will be called every time a successful
|
||||
/// response has been fetched from the server. The callback must return
|
||||
/// a boolean which signalizes if the method should stop syncing. If the
|
||||
/// callback returns `false` the sync will continue, if the callback
|
||||
/// returns `true` the sync will be stopped.
|
||||
/// callback returns `LoopCtrl::Continue` the sync will continue, if the
|
||||
/// callback returns `LoopCtrl::Break` the sync will be stopped.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user