summaryrefslogtreecommitdiffstats
path: root/src/ui/reflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/reflow.rs')
-rw-r--r--src/ui/reflow.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/reflow.rs b/src/ui/reflow.rs
index 028d9b21..8b9c3cde 100644
--- a/src/ui/reflow.rs
+++ b/src/ui/reflow.rs
@@ -144,7 +144,7 @@ pub struct LineTruncator<'a, 'b> {
symbols: &'b mut dyn Iterator<Item = StyledGrapheme<'a>>,
max_line_width: u16,
current_line: Vec<StyledGrapheme<'a>>,
- /// Record the offet to skip render
+ /// Record the offset to skip render
horizontal_offset: u16,
}
@@ -509,7 +509,7 @@ mod test {
assert_eq!(line_truncator, vec![" "]);
}
- /// Tests an input starting with a letter, folowed by spaces - some of the behaviour is
+ /// Tests an input starting with a letter, followed by spaces - some of the behaviour is
/// incidental.
#[test]
fn line_composer_char_plus_lots_of_spaces() {