Skip to content

Commit

Permalink
fix: nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Aug 16, 2024
1 parent 4552f6f commit 4300622
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zero_bin/prover/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ pub type BlockProverInputFuture = std::pin::Pin<

impl From<BlockProverInput> for BlockProverInputFuture {
fn from(item: BlockProverInput) -> Self {
async fn into(value: BlockProverInput) -> Result<BlockProverInput, anyhow::Error> {
Ok(value)
async fn _from(item: BlockProverInput) -> Result<BlockProverInput, anyhow::Error> {
Ok(item)
}
Box::pin(into(item))
Box::pin(_from(item))
}
}

Expand Down

0 comments on commit 4300622

Please sign in to comment.