Skip to content

Commit

Permalink
undo formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Nov 6, 2024
1 parent 981ec90 commit 4022773
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,15 +667,7 @@ impl Entry {
/// before calling [`Self::content_bytes`].
#[uniffi::method(async_runtime = "tokio")]
pub async fn content_bytes(&self, doc: Arc<Doc>) -> Result<Vec<u8>, IrohError> {
let res = self
.0
.content_bytes(&doc.inner)
.await
.map(|c| c.to_vec())
.map_err(|e| {
eprintln!(" failed content bytes: {:?}", e);
e
})?;
let res = self.0.content_bytes(&doc.inner).await.map(|c| c.to_vec())?;
Ok(res)
}
}
Expand Down

0 comments on commit 4022773

Please sign in to comment.