From 0460089097bb7852e5f72180283a69579be4ac8a Mon Sep 17 00:00:00 2001 From: Steve Wooster Date: Thu, 1 Dec 2022 14:25:23 -0800 Subject: [PATCH] Fix comment to mention NucleotideIter instead of Nucleotides --- src/iter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iter.rs b/src/iter.rs index c9442fd..95ca600 100644 --- a/src/iter.rs +++ b/src/iter.rs @@ -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, { type NucleotideType: NucleotideLike + ToNucleotideLike;