Skip to content

Commit

Permalink
chore: Minor doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus23 committed Feb 12, 2024
1 parent cab1377 commit 5051c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions car-mirror/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ pub struct ReceiverState {
#[derive(Debug, Clone)]
pub struct CarFile {
/// The car file contents as bytes.
/// (`CarFile` is cheap to clone, since `Bytes` is an `Arc` wrapper around a byte buffer.)
/// (`CarFile` is cheap to clone, since `Bytes` is like an `Arc` wrapper around a byte buffer.)
pub bytes: Bytes,
}

/// A stream of blocks. This requires the underlying futures to be `Send`, except for the `wasm32` target.
/// A stream of blocks. This requires the underlying futures to be `Send`, except when the target is `wasm32`.
pub type BlockStream<'a> = BoxStream<'a, Result<(Cid, Bytes), Error>>;

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 5051c24

Please sign in to comment.