]> git.proxmox.com Git - cargo.git/commitdiff
Improve gitignore comment wording
authorOdin Dutton <odindutton@gmail.com>
Thu, 7 Nov 2019 23:00:57 +0000 (10:00 +1100)
committerOdin Dutton <odindutton@gmail.com>
Thu, 7 Nov 2019 23:00:57 +0000 (10:00 +1100)
src/cargo/ops/cargo_new.rs
tests/testsuite/init.rs

index 393ddd6d93e9543eef4927ca5900928f67efa2ab..0f7709622cad8f8a9de21b6d10bc86bdffc53f84 100644 (file)
@@ -492,7 +492,7 @@ impl IgnoreList {
             .iter()
             .any(|item| existing_items.contains(item))
         {
-            out.push_str("#\n#already existing elements are commented out\n");
+            out.push_str("#\n#already existing elements were commented out\n");
         }
         out.push('\n');
 
index 4eaae95cf9a86ee130d308eed5f4832674c06d85..6fef7b7b269c45ad61b0a3b78917823e9f9031a4 100644 (file)
@@ -89,7 +89,7 @@ fn simple_git_ignore_exists() {
          **/some.file\n\n\
          #Added by cargo\n\
          #\n\
-         #already existing elements are commented out\n\
+         #already existing elements were commented out\n\
          \n\
          #/target\n\
          **/*.rs.bk\n\