Skip to content

Commit 8d4df95

Browse files
committed
fix(Docs): Better md formatting
1 parent 85ac94b commit 8d4df95

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
- v0.4.0 - Added to crates.io
44
- v0.4.1/v0.4.2 - Better descriptions for crates.io
5-
- v.0.4.5 - Fix error where bashdoc would not function for users without a ~/.bashdocrc
6-
- v.0.4.6 - Improved Error handling, --html argument removed replaced with --location, --template argument added for supplying custom .hbs
5+
- v.0.4.5 - Fix error where bashdoc would not function for users without a `~/.bashdocrc`
6+
- v.0.4.6 - Improved Error handling, `--html` argument removed replaced with `--location`, `--template` argument added for supplying custom `.hbs`

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ SUBCOMMANDS:
9090
```
9191

9292
See the [examples](https://github.com/dustinknopoff/bashdoc/tree/master/example) folder for more.
93+
9394
See the [changelog](https://github.com/dustinknopoff/bashdoc/blob/master/CHANGELOG.md) for updates
9495

9596
License: MIT

src/docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ fn get_strings_from_file<'a>(p: &Path, delims: Delimiters) -> Vec<Extracted<'a>>
194194
// println!("{:#?}", result);
195195
match result {
196196
Ok(r) => r.1,
197-
Err(e) => {
197+
Err(_) => {
198198
println!("Error parsing {}", p.display());
199199
exit(1);
200200
}

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
//!```
8989
//!
9090
//! See the [examples](https://github.com/dustinknopoff/bashdoc/tree/master/example) folder for more.
91+
//!
9192
//! See the [changelog](https://github.com/dustinknopoff/bashdoc/blob/master/CHANGELOG.md) for updates
9293
mod docs;
9394
use crate::docs::*;

0 commit comments

Comments
 (0)