aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/grid/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/grid/mod.rs')
-rw-r--r--alacritty_terminal/src/grid/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/grid/mod.rs b/alacritty_terminal/src/grid/mod.rs
index b42c5075..232201ec 100644
--- a/alacritty_terminal/src/grid/mod.rs
+++ b/alacritty_terminal/src/grid/mod.rs
@@ -568,12 +568,12 @@ pub struct GridIterator<'a, T> {
}
impl<'a, T> GridIterator<'a, T> {
- /// Current iteratior position.
+ /// Current iterator position.
pub fn point(&self) -> Point {
self.point
}
- /// Cell at the current iteratior position.
+ /// Cell at the current iterator position.
pub fn cell(&self) -> &'a T {
&self.grid[self.point]
}