Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/paint/border_path_iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl<'a> Iterator for BorderPathIter<'a> {

fn next(&mut self) -> Option<Self::Item> {
assert!(
self.total_len >= 0.0,
self.total_len > 0.0,
"Total length must be positive. Total_len: {}",
self.total_len
);
Expand Down
2 changes: 1 addition & 1 deletion src/views/editor/visual_line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ impl Lines {

debug_assert_eq!(
line_index, 0,
"Line index was zero. This likely indicates keeping an rvline past when it was valid."
"Line index was not zero. This likely indicates keeping an rvline past when it was valid."
);

rope_text.offset_of_line(line)
Expand Down