Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Apr 19, 2024
1 parent 8acd440 commit e9ff8d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ impl IntoFuture for Conn {
.runtime()
.timeout(duration, self.exec())
.await
.ok_or(Error::TimedOut("conn", duration))??;
.ok_or(Error::TimedOut("Conn", duration))??;
} else {
self.exec().await?;
}
Expand Down
2 changes: 1 addition & 1 deletion server-common/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl Runtime {
&self,
fut: impl Future<Output = Output> + Send + 'static,
) -> DroppableFuture<Pin<Box<dyn Future<Output = Option<Output>> + Send + 'static>>> {
let fut = RuntimeTrait::spawn(self, fut);
let fut = RuntimeTrait::spawn(self, fut).into_inner();
DroppableFuture::new(Box::pin(fut))
}

Expand Down

0 comments on commit e9ff8d3

Please sign in to comment.