summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 8a139af..130a53b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -17,8 +17,8 @@ use tui::markdown::Markdown;
fn main() -> Result<()> {
// Tokio runtime
- let mut rt = Runtime::new()?;
- rt.block_on(run())
+ Runtime::new()?
+ .block_on(run())
.and_then(|qs| {
// Run TUI
qs.map(tui::run);