summaryrefslogtreecommitdiffstats
path: root/vendor/mdbook/src/cmd/clean.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/mdbook/src/cmd/clean.rs')
-rw-r--r--vendor/mdbook/src/cmd/clean.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/mdbook/src/cmd/clean.rs b/vendor/mdbook/src/cmd/clean.rs
index 3ec605fea..48b4147ca 100644
--- a/vendor/mdbook/src/cmd/clean.rs
+++ b/vendor/mdbook/src/cmd/clean.rs
@@ -16,7 +16,7 @@ pub fn make_subcommand() -> Command {
// Clean command implementation
pub fn execute(args: &ArgMatches) -> mdbook::errors::Result<()> {
let book_dir = get_book_dir(args);
- let book = MDBook::load(&book_dir)?;
+ let book = MDBook::load(book_dir)?;
let dir_to_remove = match args.get_one::<PathBuf>("dest-dir") {
Some(dest_dir) => dest_dir.into(),