Skip to content

Commit 8d67628

Browse files
Merge pull request #18 from KisaragiEffective/fix/build-mode-spoiler
2 parents d61d559 + 971c7da commit 8d67628

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![forbid(unsafe_code)]
2-
#![deny(clippy::all)]
2+
#![deny(clippy::all, clippy::collection_is_never_read)]
33
#![warn(clippy::pedantic, clippy::nursery)]
44

55
use std::fs::File;
@@ -105,9 +105,10 @@ impl PreProcessor for LinkOrInclude {
105105
ret
106106
};
107107

108+
pasting_text.push_str(&including_text);
108109
pasting_text.push_str("\n</details>");
109110

110-
including_text
111+
pasting_text
111112
}
112113
BuildMode::Static => {
113114
let mut cloned_path = build_context.input_file.to_path_buf();

0 commit comments

Comments
 (0)