Skip to content

Commit

Permalink
chore: fix typo in comment (#5643)
Browse files Browse the repository at this point in the history
## Description

<!--
Please write a summary of your changes and why you made them.
This section will appear as the commit message after merging.
Please craft it accordingly.
For a quick primer on good commit messages, check out this blog post:
https://cbea.ms/git-commit/

Please include any relevant issues in here, for example:

Related https://github.com/libp2p/rust-libp2p/issues/ABCD.
Fixes https://github.com/libp2p/rust-libp2p/issues/XYZ.
-->

## Notes & open questions

<!--
Any notes, remarks or open questions you have to make about the PR which
don't need to go into the final commit message.
-->

## Change checklist

<!-- Please add a Changelog entry in the appropriate crates and bump the
crate versions if needed. See
<https://github.com/libp2p/rust-libp2p/blob/master/docs/release.md#development-between-releases>-->

- [x] I have performed a self-review of my own code
- [x] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] A changelog entry has been made in the appropriate crates
  • Loading branch information
AdventureSeeker987 authored Oct 22, 2024
1 parent 812a7cd commit 524d7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/kad/src/query/peers/fixed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use std::{collections::hash_map::Entry, num::NonZeroUsize, vec};

/// A peer iterator for a fixed set of peers.
pub(crate) struct FixedPeersIter {
/// Ther permitted parallelism, i.e. number of pending results.
/// The permitted parallelism, i.e. number of pending results.
parallelism: NonZeroUsize,

/// The state of peers emitted by the iterator.
Expand Down

0 comments on commit 524d7f1

Please sign in to comment.