Skip to content

Commit 2afa823

Browse files
committed
chore: minimum the code change
1 parent 62efcc6 commit 2afa823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/book/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl MDBook {
281281
};
282282

283283
if let Some(chapter) = chapter {
284-
if ch.name != *chapter && chapter_path.to_str() != Some(chapter) {
284+
if ch.name != chapter && chapter_path.to_str() != Some(chapter) {
285285
if chapter == "?" {
286286
info!("Skipping chapter '{}'...", ch.name);
287287
}

0 commit comments

Comments
 (0)