diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2023-12-27 10:00:11 +0100 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2023-12-27 10:01:08 +0100 |
commit | 45d886a6b2c194a5a68961b428f8db2c8daf06a8 (patch) | |
tree | a6b29b0b2eaf9c188620d2978097d66617134342 /src/interactive/widgets/help.rs | |
parent | 4482e1de9808a8d662b93b3af907b90000e9f1ae (diff) |
enforce Rust 2021 style
Diffstat (limited to 'src/interactive/widgets/help.rs')
-rw-r--r-- | src/interactive/widgets/help.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interactive/widgets/help.rs b/src/interactive/widgets/help.rs index 092fb00..8ae65b2 100644 --- a/src/interactive/widgets/help.rs +++ b/src/interactive/widgets/help.rs @@ -61,7 +61,7 @@ impl HelpPane { pub fn render(&mut self, props: impl Borrow<HelpPaneProps>, area: Rect, buf: &mut Buffer) { let lines = { - let lines = RefCell::new(Vec::<Line>::with_capacity(30)); + let lines = RefCell::new(Vec::<Line<'_>>::with_capacity(30)); let add_newlines = |n| { for _ in 0..n { lines.borrow_mut().push(Line::from(Span::raw(""))) |