refactors: unwraps() removed, and/or map_or() used

This commit is contained in:
Jack Wills
2022-09-07 02:53:28 +00:00
parent 6c1aebd500
commit eb25744472
5 changed files with 41 additions and 33 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ pub async fn create_ui(
LeaveAlternateScreen,
DisableMouseCapture
)?;
terminal.show_cursor().unwrap_or(());
terminal.show_cursor()?;
if let Err(err) = res {
println!("{}", err);