Forráskód Böngészése

fix: merge errors

Jonathan Kelley 2 éve
szülő
commit
230c83c35b
3 módosított fájl, 17 hozzáadás és 13 törlés
  1. 13 13
      src/cli/autoformat/mod.rs
  2. 2 0
      src/cli/mod.rs
  3. 2 0
      src/cli/translate/mod.rs

+ 13 - 13
src/cli/autoformat/mod.rs

@@ -1,3 +1,5 @@
+use std::process::exit;
+
 use super::*;
 
 /// Build the Rust WASM app and all of its assets.
@@ -61,16 +63,14 @@ rsx! {
     dbg!(out);
 }
 
-/*
-parse the whole doc
-find all the comment blocks
-
-
-
-
-
-
-
-
-
-*/
+// parse the whole doc
+// find all the comment blocks
+//
+//
+//
+//
+//
+//
+//
+//
+//

+ 2 - 0
src/cli/mod.rs

@@ -83,6 +83,8 @@ impl Commands {
             Commands::Clean(_) => "clean",
             Commands::Config(_) => "config",
             Commands::Plugin(_) => "plugin",
+            Commands::Version(_) => "version",
+            Commands::Autoformat(_) => "fmt",
         }
         .to_string()
     }

+ 2 - 0
src/cli/translate/mod.rs

@@ -1,3 +1,5 @@
+use std::process::exit;
+
 use super::*;
 
 /// Build the Rust WASM app and all of its assets.