diff options
Diffstat (limited to 'packages/svgbob/src/buffer/cell_buffer/span.rs')
-rw-r--r-- | packages/svgbob/src/buffer/cell_buffer/span.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/svgbob/src/buffer/cell_buffer/span.rs b/packages/svgbob/src/buffer/cell_buffer/span.rs index 39a8299..b388542 100644 --- a/packages/svgbob/src/buffer/cell_buffer/span.rs +++ b/packages/svgbob/src/buffer/cell_buffer/span.rs @@ -57,7 +57,7 @@ impl Span { } /// if any cell of this span is adjacent to any cell of the other - /// Use .rev() to check the last cell of this Span agains the first cell of the other Span + /// Use .rev() to check the last cell of this Span against the first cell of the other Span /// They have a high change of matching faster pub(super) fn can_merge(&self, other: &Self) -> bool { self.iter().rev().any(|(cell, _)| { |