mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-21 20:23:11 +00:00
refactor: clippy::redundant_type_annotations (#974)
This commit is contained in:
parent
9b3b23ac14
commit
fdb14dc7cd
2 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@ deref_by_slicing = "warn"
|
|||
empty_line_after_doc_comments = "warn"
|
||||
equatable_if_let = "warn"
|
||||
missing_const_for_fn = "warn"
|
||||
redundant_type_annotations = "warn"
|
||||
use_self = "warn"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -82,7 +82,7 @@ fn widgets_paragraph_renders_mixed_width_graphemes() {
|
|||
|
||||
#[test]
|
||||
fn widgets_paragraph_can_wrap_with_a_trailing_nbsp() {
|
||||
let nbsp: &str = "\u{00a0}";
|
||||
let nbsp = "\u{00a0}";
|
||||
let line = Line::from(vec![Span::raw("NBSP"), Span::raw(nbsp)]);
|
||||
let paragraph = Paragraph::new(line).block(Block::default().borders(Borders::ALL));
|
||||
|
||||
|
|
Loading…
Reference in a new issue