Skip to content

Commit

Permalink
remove incorrect assert
Browse files Browse the repository at this point in the history
This assert was added during early development of helix-editor#5420 and makes no
sense with the current code. We simply forgot to remove it.
  • Loading branch information
pascalkuthe authored and Schuyler Mortimer committed Jul 10, 2024
1 parent 28c206c commit 2f09ae4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion helix-term/src/ui/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ pub fn render_text<'t>(
text_annotations,
);
row_off += offset.vertical_offset;
assert_eq!(0, offset.vertical_offset);

let (mut formatter, mut first_visible_char_idx) =
DocumentFormatter::new_at_prev_checkpoint(text, text_fmt, text_annotations, offset.anchor);
Expand Down

0 comments on commit 2f09ae4

Please sign in to comment.