chore: fix spelling issues (#13978)

This commit is contained in:
planetBoy
2025-01-25 17:10:35 +01:00
committed by GitHub
parent 68a1de799d
commit 139fe14e5f
6 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ use std::{
/// If the response arrived with insufficient number of bodies, the future
/// will issue another request until all bodies are collected.
///
/// It then proceeds to verify the downloaded bodies. In case of an validation error,
/// It then proceeds to verify the downloaded bodies. In case of a validation error,
/// the future will start over.
///
/// The future will filter out any empty headers (see [`alloy_consensus::Header::is_empty`]) from

View File

@ -175,7 +175,7 @@ impl<T: HeaderDownloader> Future for SpawnedDownloader<T> {
}
}
/// Commands delegated tot the spawned [`HeaderDownloader`]
/// Commands delegated to the spawned [`HeaderDownloader`]
enum DownloaderUpdates<H> {
UpdateSyncGap(SealedHeader<H>, SyncTarget),
UpdateLocalHead(SealedHeader<H>),

View File

@ -30,7 +30,7 @@ pub struct BodyDownloaderMetrics {
pub buffered_responses: Gauge,
/// The number of blocks the internal buffer of the
/// downloader.
/// These are bodies that have been received, but not cannot be committed yet because they're
/// These are bodies that have been received, but cannot be committed yet because they're
/// not contiguous
pub buffered_blocks: Gauge,
/// Total amount of memory used by the buffered blocks in bytes
@ -101,7 +101,7 @@ pub struct HeaderDownloaderMetrics {
pub buffered_responses: Gauge,
/// The number of blocks the internal buffer of the
/// downloader.
/// These are bodies that have been received, but not cannot be committed yet because they're
/// These are bodies that have been received, but cannot be committed yet because they're
/// not contiguous
pub buffered_blocks: Gauge,
/// Total amount of memory used by the buffered blocks in bytes