mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 16:53:08 +02:00
fix clippy
This commit is contained in:
parent
5f28eb3a74
commit
21c4f95fd9
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ fn process(_ctx: &PreprocessorContext, mut book: Book) -> Result<Book, Error> {
|
||||||
chapter
|
chapter
|
||||||
.source_path
|
.source_path
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.unwrap_or(chapter.path.as_ref().unwrap())
|
.unwrap_or_else(|| chapter.path.as_ref().unwrap())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
chapter.content = new_content;
|
chapter.content = new_content;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue