ratatui-org / ratatui

Rust library that's all about cooking up terminal user interfaces (TUIs) 👨‍🍳🐀
https://ratatui.rs
MIT License
8.86k stars 269 forks source link

fix: prevent panic from string_slice #1140

Closed EdJoPaTo closed 1 month ago

EdJoPaTo commented 1 month ago

https://rust-lang.github.io/rust-clippy/master/index.html#string_slice

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.2%. Comparing base (cf67ed9) to head (35dee5d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1140 +/- ## ===================================== Coverage 94.2% 94.2% ===================================== Files 60 60 Lines 14630 14632 +2 ===================================== + Hits 13790 13793 +3 + Misses 840 839 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.