From 0c920258740a79ebc881f142161375a52f988910 Mon Sep 17 00:00:00 2001 From: clonemycode <168618167+clonemycode@users.noreply.github.com> Date: Thu, 2 May 2024 02:52:40 +0800 Subject: [PATCH] chore: remove repetitive words (#1753) Signed-off-by: clonemycode --- filecoin-proofs/src/api/mod.rs | 2 +- storage-proofs-porep/src/stacked/vanilla/create_label/multi.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filecoin-proofs/src/api/mod.rs b/filecoin-proofs/src/api/mod.rs index 98bb6cc1b..7c29145a6 100644 --- a/filecoin-proofs/src/api/mod.rs +++ b/filecoin-proofs/src/api/mod.rs @@ -351,7 +351,7 @@ where // If the call to `extract_range` was successful, the `unsealed` vector must // have a length which equals `num_bytes_padded`. The byte at its 0-index - // byte will be the the byte at index `offset_padded` in the sealed sector. + // byte will be the byte at index `offset_padded` in the sealed sector. let written = write_unpadded(unsealed, &mut unsealed_output, 0, num_bytes.into()) .context("write_unpadded failed")?; diff --git a/storage-proofs-porep/src/stacked/vanilla/create_label/multi.rs b/storage-proofs-porep/src/stacked/vanilla/create_label/multi.rs index 9cb8901fc..8f01287aa 100644 --- a/storage-proofs-porep/src/stacked/vanilla/create_label/multi.rs +++ b/storage-proofs-porep/src/stacked/vanilla/create_label/multi.rs @@ -129,7 +129,7 @@ fn fill_buffer( // hashing thread // - cur_producer - The next node to be filled in by producer threads. The // hashing thread can not yet work on this node. -// - cur_awaiting - The first not not currently being filled by any producer +// - cur_awaiting - The first not currently being filled by any producer // thread. // - stride - Each producer fills in this many nodes at a time. Setting // this too small with cause a lot of time to be spent in