diff src/main.rs @ 16:478cf2a7d577

Reformat with rustfmt.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 26 Aug 2021 19:45:30 +0200
parents adab13145994
children 0bce7fe96937
line wrap: on
line diff
--- a/src/main.rs
+++ b/src/main.rs
@@ -17,8 +17,8 @@
 #[cfg(feature = "gui")]
 mod gtk;
 mod server;
+mod state;
 mod uinput;
-mod state;
 
 use std::env::args;
 
@@ -40,7 +40,9 @@ fn main() {
         args.remove(1)
     } else {
         String::from("gui")
-    }.as_str() {
+    }
+    .as_str()
+    {
         "gui" => Ui::Gtk,
         "server" => Ui::Server,
         name => {