Skip to content

Commit

Permalink
Fix comment to mention NucleotideIter instead of Nucleotides
Browse files Browse the repository at this point in the history
  • Loading branch information
swooster committed Dec 1, 2022
1 parent df75fce commit 0460089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use crate::{Nucleotide, NucleotideAmbiguous, NucleotideLike};
/// Helper trait to support iters regardless of whether their items are by-ref or by-value
pub trait ToNucleotideLike
where
// It's much easier for the compiler to reason about chained Nucleotides iterator
// adapters if we explicitly state that ToNucleotideLike is idempotent.
// It's much easier for the compiler to reason about chained NucleotideIters
// if we explicitly state that ToNucleotideLike is idempotent.
Self::NucleotideType: ToNucleotideLike<NucleotideType = Self::NucleotideType>,
{
type NucleotideType: NucleotideLike + ToNucleotideLike;
Expand Down

0 comments on commit 0460089

Please sign in to comment.