From 5051c24f3800c3b6dcf11bdf16307a62bc6798cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Mon, 12 Feb 2024 17:18:08 +0100 Subject: [PATCH] chore: Minor doc changes --- car-mirror/src/common.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/car-mirror/src/common.rs b/car-mirror/src/common.rs index 8037da5..a68eda4 100644 --- a/car-mirror/src/common.rs +++ b/car-mirror/src/common.rs @@ -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>>; //--------------------------------------------------------------------------------------------------