diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-04-12 22:46:08 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-04-12 22:46:08 +0800 |
commit | 83804adf605c2d1264b0fcafcdbf5f77023570ab (patch) | |
tree | d66e665a21edd65f57d1a11632e321acbe731afb /tui-react | |
parent | 9b3de5547d418697e7f094513e80dee4d00c21ff (diff) |
fix clippy lints
Diffstat (limited to 'tui-react')
-rw-r--r-- | tui-react/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tui-react/src/lib.rs b/tui-react/src/lib.rs index de9fad1..d66663d 100644 --- a/tui-react/src/lib.rs +++ b/tui-react/src/lib.rs @@ -30,7 +30,7 @@ pub fn fill_background(area: Rect, buf: &mut Buffer, color: Color) { } } -pub fn draw_text_with_ellipsis_nowrap<'a>( +pub fn draw_text_with_ellipsis_nowrap( bound: Rect, buf: &mut Buffer, text: impl AsRef<str>, |