Bläddra i källkod

Fix: some typos

Jonathan Kelley 5 månader sedan
förälder
incheckning
9e2f1b4e1d
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      packages/cli/src/cli/clean.rs
  2. 2 2
      packages/cli/src/dioxus_crate.rs

+ 1 - 1
packages/cli/src/cli/clean.rs

@@ -3,7 +3,7 @@ use crate::Result;
 
 /// Clean build artifacts.
 ///
-/// Simlpy runs `cargo clean`
+/// Simply runs `cargo clean`
 #[derive(Clone, Debug, Parser)]
 pub(crate) struct Clean {}
 

+ 2 - 2
packages/cli/src/dioxus_crate.rs

@@ -369,7 +369,7 @@ impl DioxusCrate {
         for path in self.default_ignore_list() {
             ignore_builder
                 .add_line(None, path)
-                .expect("failed to add path to file excluder");
+                .expect("failed to add path to file excluded");
         }
 
         ignore_builder.build().unwrap()
@@ -490,7 +490,7 @@ impl DioxusCrate {
         for path in self.default_ignore_list() {
             ignore_builder
                 .add_line(None, path)
-                .expect("failed to add path to file excluder");
+                .expect("failed to add path to file excluded");
         }
         ignore_builder.build().unwrap()
     }