Skip to content

Commit 0643292

Browse files
committed
Fix formatting
1 parent 8a26ba8 commit 0643292

File tree

1 file changed

+5
-4
lines changed
  • crates/matrix-sdk/src/client

1 file changed

+5
-4
lines changed

crates/matrix-sdk/src/client/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,10 +2421,11 @@ impl Client {
24212421
/// docs for [`Client::sync_once`] for more info.
24222422
///
24232423
/// * `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.
24282429
///
24292430
/// # Examples
24302431
///

0 commit comments

Comments
 (0)