File tree 1 file changed +5
-4
lines changed
crates/matrix-sdk/src/client 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2421,10 +2421,11 @@ impl Client {
2421
2421
/// docs for [`Client::sync_once`] for more info.
2422
2422
///
2423
2423
/// * `callback` - A callback that will be called every time after a
2424
- /// response has been fetched from the server, or the fetch has been failed.
2425
- /// The callback must return a boolean which signalizes if the method should stop syncing.
2426
- /// If the callback returns `LoopCtrl::Continue` the sync will continue, if the
2427
- /// callback returns `LoopCtrl::Break` the sync will be stopped.
2424
+ /// response has been fetched from the server, or the fetch has been
2425
+ /// failed. The callback must return a boolean which signalizes if the
2426
+ /// method should stop syncing. If the callback returns
2427
+ /// `LoopCtrl::Continue` the sync will continue, if the callback returns
2428
+ /// `LoopCtrl::Break` the sync will be stopped.
2428
2429
///
2429
2430
/// # Examples
2430
2431
///
You can’t perform that action at this time.
0 commit comments