clippy fixes
This commit is contained in:
@@ -16,10 +16,8 @@ pub fn getExitPara() -> Paragraph<'static> {
|
||||
Line::from("ANY UNSAVED CHANGES WILL BE DISCARDED."),
|
||||
Line::from("Press (s) to save from the main screen."),
|
||||
]);
|
||||
let exitPara = Paragraph::new(exitText)
|
||||
Paragraph::new(exitText)
|
||||
.block(exitPopup)
|
||||
.wrap(Wrap { trim: false })
|
||||
.style(Style::default().fg(Color::White));
|
||||
|
||||
exitPara
|
||||
.style(Style::default().fg(Color::White))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user