Skip to content

Commit

Permalink
cargo fmt (how can i forget this every time)
Browse files Browse the repository at this point in the history
  • Loading branch information
luca3s authored and becheran committed May 15, 2024
1 parent ce52afd commit 9ca3415
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ impl<T> Grid<T> {
/// *i += 1;
/// println!("value at row {row} and column {col} is: {i}");
/// }
///
///
/// assert_eq!(grid[(0, 0)], 2);
/// assert_eq!(grid[(0, 1)], 3);
/// assert_eq!(grid[(1, 0)], 4);
Expand Down Expand Up @@ -1681,7 +1681,7 @@ impl<'a, T> Iterator for GridRowIter<'a, T> {
}
}

impl<'a, T> ExactSizeIterator for GridRowIter<'a, T> { }
impl<'a, T> ExactSizeIterator for GridRowIter<'a, T> {}

impl<'a, T> DoubleEndedIterator for GridRowIter<'a, T> {
fn next_back(&mut self) -> Option<Self::Item> {
Expand Down Expand Up @@ -1714,7 +1714,7 @@ impl<'a, T> Iterator for GridColIter<'a, T> {
}
}

impl<'a, T> ExactSizeIterator for GridColIter<'a, T> { }
impl<'a, T> ExactSizeIterator for GridColIter<'a, T> {}

impl<'a, T> DoubleEndedIterator for GridColIter<'a, T> {
fn next_back(&mut self) -> Option<Self::Item> {
Expand Down

0 comments on commit 9ca3415

Please sign in to comment.