chore: fix typo in shred.rs (#21890)

begining -> beginning
This commit is contained in:
Ikko Ashimine 2021-12-15 01:19:27 +09:00 committed by GitHub
parent 509bcd2e74
commit e19c7923c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ impl Shred {
block.resize(size, 0u8);
}
ShredType::Code => {
// SIZE_OF_CODING_SHRED_HEADERS bytes at the begining of the
// SIZE_OF_CODING_SHRED_HEADERS bytes at the beginning of the
// coding shreds contains the header and is not part of erasure
// coding.
let offset = SIZE_OF_CODING_SHRED_HEADERS.min(block.len());