zipcartesian: minor spelling mistake
This commit is contained in:
@@ -269,7 +269,7 @@ mod test_impls {
|
||||
use crate::{
|
||||
card::{Card, PlayingCard, Rank, Suit},
|
||||
exactsizearr::ExactSizedArr,
|
||||
zipcartesian::ZipCatersianExt,
|
||||
zipcartesian::ZipCartesianExt,
|
||||
};
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -91,7 +91,7 @@ mod tests {
|
||||
use crate::{
|
||||
card::{PlayingCard, Rank},
|
||||
modes::tests::test_footstool,
|
||||
zipcartesian::ZipCatersianExt,
|
||||
zipcartesian::ZipCartesianExt,
|
||||
};
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -54,7 +54,7 @@ mod tests {
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
use super::*;
|
||||
use crate::{modes::tests::test_footstool, zipcartesian::ZipCatersianExt};
|
||||
use crate::{modes::tests::test_footstool, zipcartesian::ZipCartesianExt};
|
||||
|
||||
#[test]
|
||||
fn new() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use std::iter::Iterator;
|
||||
|
||||
pub trait ZipCatersianExt: Iterator {
|
||||
pub trait ZipCartesianExt: Iterator {
|
||||
fn zip_cartesian<B>(
|
||||
self,
|
||||
b: B,
|
||||
@@ -11,7 +11,7 @@ pub trait ZipCatersianExt: Iterator {
|
||||
B: Iterator<Item: Copy> + Clone;
|
||||
}
|
||||
|
||||
impl<I: Iterator<Item: Copy> + Clone> ZipCatersianExt for I {
|
||||
impl<I: Iterator<Item: Copy> + Clone> ZipCartesianExt for I {
|
||||
/// Exhaustive coupling of two iterators.
|
||||
/// For each x in `self`: for each y in `b`: yield (x, y).
|
||||
/// b: B must implement `Clone`.
|
||||
|
||||
Reference in New Issue
Block a user