about summary refs log tree commit diff
path: root/clippy_dev/src/setup
diff options
context:
space:
mode:
authorwhodi <whodi@pop-os.localdomain>2022-04-15 14:25:55 -0400
committerManish Goregaokar <manishsmail@gmail.com>2022-04-15 14:18:09 -0700
commit29ef80c78a0f9c58607944e50d3240eee2b7cdc7 (patch)
tree24003199ba08dd7043408fef8799a335c88aecfd /clippy_dev/src/setup
parentc0fce5a8475927a7dc5f56f4efb2468aa87a4da0 (diff)
downloadrust-29ef80c78a0f9c58607944e50d3240eee2b7cdc7.tar.gz
rust-29ef80c78a0f9c58607944e50d3240eee2b7cdc7.zip
adding spell checking
Diffstat (limited to 'clippy_dev/src/setup')
-rw-r--r--clippy_dev/src/setup/git_hook.rs2
-rw-r--r--clippy_dev/src/setup/mod.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/clippy_dev/src/setup/git_hook.rs b/clippy_dev/src/setup/git_hook.rs
index 3fbb77d5923..ad4b96f7ff3 100644
--- a/clippy_dev/src/setup/git_hook.rs
+++ b/clippy_dev/src/setup/git_hook.rs
@@ -18,7 +18,7 @@ pub fn install_hook(force_override: bool) {
 
     // So a little bit of a funny story. Git on unix requires the pre-commit file
     // to have the `execute` permission to be set. The Rust functions for modifying
-    // these flags doesn't seem to work when executed with normal user permissions.
+    // these flags doesn't seem to work when executed with normal user permissions. 
     //
     // However, there is a little hack that is also being used by Rust itself in their
     // setup script. Git saves the `execute` flag when syncing files. This means
diff --git a/clippy_dev/src/setup/mod.rs b/clippy_dev/src/setup/mod.rs
index a1e4dd103b8..f691ae4fa45 100644
--- a/clippy_dev/src/setup/mod.rs
+++ b/clippy_dev/src/setup/mod.rs
@@ -7,7 +7,7 @@ use std::path::Path;
 const CLIPPY_DEV_DIR: &str = "clippy_dev";
 
 /// This function verifies that the tool is being executed in the clippy directory.
-/// This is useful to ensure that setups only modify Clippys resources. The verification
+/// This is useful to ensure that setups only modify Clippy's resources. The verification
 /// is done by checking that `clippy_dev` is a sub directory of the current directory.
 ///
 /// It will print an error message and return `false` if the directory could not be
@@ -17,7 +17,7 @@ fn verify_inside_clippy_dir() -> bool {
     if path.exists() && path.is_dir() {
         true
     } else {
-        eprintln!("error: unable to verify that the working directory is clippys directory");
+        eprintln!("error: unable to verify that the working directory is clippy's directory");
         false
     }
 }