* Use `git config` to get author name in `mdbook init` * Return `None` if `git` command fails * Use `.ok()?` to convert from Result to Option and return early if `None` |
||
|---|---|---|
| .. | ||
| build.rs | ||
| clean.rs | ||
| init.rs | ||
| mdbook.rs | ||
| serve.rs | ||
| test.rs | ||
| watch.rs | ||
* Use `git config` to get author name in `mdbook init` * Return `None` if `git` command fails * Use `.ok()?` to convert from Result to Option and return early if `None` |
||
|---|---|---|
| .. | ||
| build.rs | ||
| clean.rs | ||
| init.rs | ||
| mdbook.rs | ||
| serve.rs | ||
| test.rs | ||
| watch.rs | ||