Skip to content

Commit

Permalink
fix: update comments (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
seren5240 authored Apr 8, 2024
1 parent 2f1baa5 commit e1f7c93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .grit/grit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ patterns:
}
samples:
- input: |
// @filename: .grit/patterns/kebab-case.md
<!-- @filename: .grit/patterns/kebab-case.md -->
# This is a markdown file
output: |
// @filename: .grit/patterns/kebab-case.md
<!-- @filename: .grit/patterns/kebab-case.md -->
# This is a markdown file
- input: |
// @filename: .grit/patterns/snake_case.md
<!-- @filename: .grit/patterns/snake_case.md -->
# This is a markdown file
6 changes: 3 additions & 3 deletions .grit/patterns/rust/cargo_use_long_dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $deps` where {
Old syntax, with a mix of both:

```toml
// @filename: Cargo.toml
# @filename: Cargo.toml
[package]
name = "my-package"

Expand All @@ -34,7 +34,7 @@ other_pkg = "0.1.3"
New syntax, with all dependencies using the same format:

```toml
// @filename: Cargo.toml
# @filename: Cargo.toml
[package]
name = "my-package"

Expand All @@ -50,7 +50,7 @@ other_pkg = { version = "0.1.3" }
This rule only applies to Cargo.toml files, so it's safe to ignore other files.

```toml
// @filename: other-file.toml
# @filename: other-file.toml
[dependencies]
rand = "0.6"
```

0 comments on commit e1f7c93

Please sign in to comment.