Skip to content

Commit

Permalink
Improve gitignore comment wording
Browse files Browse the repository at this point in the history
  • Loading branch information
twe4ked committed Nov 7, 2019
1 parent a6db5b0 commit c42f2ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cargo/ops/cargo_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down

0 comments on commit c42f2ee

Please sign in to comment.