Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantumplation committed Apr 16, 2024
1 parent c96fd05 commit df2c4c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pallas-network/src/miniprotocols/chainsync/client.rs
Expand Up @@ -281,10 +281,11 @@ where
}

/// Either requests the next block, or waits for one to become available.
///
///
/// # Errors
///
/// Returns an error if the message cannot be sent, or if the inbound message is invalid
///
/// Returns an error if the message cannot be sent, or if the inbound
/// message is invalid
pub async fn request_or_await_next(&mut self) -> Result<NextResponse<O>, Error> {

Check failure on line 289 in pallas-network/src/miniprotocols/chainsync/client.rs

View workflow job for this annotation

GitHub Actions / Test Suite

expected type, found derive macro `Error`

Check failure on line 289 in pallas-network/src/miniprotocols/chainsync/client.rs

View workflow job for this annotation

GitHub Actions / Check (windows-latest, stable)

expected type, found derive macro `Error`

Check failure on line 289 in pallas-network/src/miniprotocols/chainsync/client.rs

View workflow job for this annotation

GitHub Actions / Lints

expected type, found derive macro `Error`

Check failure on line 289 in pallas-network/src/miniprotocols/chainsync/client.rs

View workflow job for this annotation

GitHub Actions / Check (ubuntu-latest, stable)

expected type, found derive macro `Error`

Check failure on line 289 in pallas-network/src/miniprotocols/chainsync/client.rs

View workflow job for this annotation

GitHub Actions / Check (macOS-latest, stable)

expected type, found derive macro `Error`
if self.has_agency() {
self.request_next().await
Expand Down

0 comments on commit df2c4c0

Please sign in to comment.