Skip to content

Commit

Permalink
chore: remove repetitive words (#1753)
Browse files Browse the repository at this point in the history
Signed-off-by: clonemycode <clonecode@aliyun.com>
  • Loading branch information
clonemycode authored May 1, 2024
1 parent cd452c4 commit 0c92025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filecoin-proofs/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")?;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c92025

Please # to comment.