Skip to content

Commit

Permalink
Address needless_doctest_main lint
Browse files Browse the repository at this point in the history
  • Loading branch information
runesoerensen committed Jun 25, 2024
1 parent 47cc2e7 commit 8cc9671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cargo add --git https://github.com/heroku/keep_a_changelog
```rust
use keep_a_changelog::{Changelog, ChangeGroup, PromoteOptions};

fn main() {
# fn main() {
// parse a changelog
let mut changelog: Changelog = "\
# Changelog
Expand Down Expand Up @@ -51,5 +51,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

// output the changelog
println!("{}", changelog);
}
# }
```

0 comments on commit 8cc9671

Please sign in to comment.