fix typo in src/assignments/assignment07/small_exercises.rs

This commit is contained in:
n1net4il
2023-10-23 02:04:04 +00:00
parent 83dd526f50
commit 040edda583

View File

@@ -52,7 +52,7 @@ pub fn fib<T>(first: T, second: T) -> impl Iterator<Item = T>
where
T: std::ops::Add<Output = T> + Copy,
{
todo!("replace `std::iter::empty() with your owm implementation`");
todo!("replace `std::iter::empty() with your own implementation`");
std::iter::empty()
}
@@ -86,7 +86,7 @@ impl Iterator for RangeIter {
/// Returns an iterator over the range [left, right) with the given step.
pub fn range(left: Endpoint, right: Endpoint, step: isize) -> impl Iterator<Item = isize> {
todo!("replace `std::iter::empty() with your owm implementation`");
todo!("replace `std::iter::empty() with your own implementation`");
std::iter::empty()
}