Skip to content

Commit

Permalink
Test fmt check works
Browse files Browse the repository at this point in the history
  • Loading branch information
YS-L committed Oct 1, 2023
1 parent 6561ea1 commit 2e9231d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ impl<'a> CsvTable<'a> {
if let Some(mut spans) = spans_wrapper.next() {
// There is some content to render. Truncate with ... if there is no more vertical
// space available.
if offset == height - 1 && !spans_wrapper.finished() {
if offset == height - 1 && !spans_wrapper.finished(){
if let Some(last_span) = spans.0.pop() {
let truncate_length = last_span.width().saturating_sub(SUFFIX_LEN as usize);
let truncated_content: String =
Expand Down

0 comments on commit 2e9231d

Please sign in to comment.