matrix-sdk: Fix the arguments docs for sync_with_callback.
parent
9a838abd67
commit
220ccfb52b
|
@ -1444,8 +1444,8 @@ impl Client {
|
||||||
/// * `callback` - A callback that will be called every time a successful
|
/// * `callback` - A callback that will be called every time a successful
|
||||||
/// response has been fetched from the server. The callback must return
|
/// response has been fetched from the server. The callback must return
|
||||||
/// a boolean which signalizes if the method should stop syncing. If the
|
/// a boolean which signalizes if the method should stop syncing. If the
|
||||||
/// callback returns `false` the sync will continue, if the callback
|
/// callback returns `LoopCtrl::Continue` the sync will continue, if the
|
||||||
/// returns `true` the sync will be stopped.
|
/// callback returns `LoopCtrl::Break` the sync will be stopped.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue