summaryrefslogtreecommitdiff
path: root/helix-tui/src/widgets/reflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-tui/src/widgets/reflow.rs')
-rw-r--r--helix-tui/src/widgets/reflow.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-tui/src/widgets/reflow.rs b/helix-tui/src/widgets/reflow.rs
index 38071940..c30aa6e0 100644
--- a/helix-tui/src/widgets/reflow.rs
+++ b/helix-tui/src/widgets/reflow.rs
@@ -128,7 +128,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,
}
@@ -439,7 +439,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() {