aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 10:38:24 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 10:38:24 +0200
commit30dccab8678bd134e084afdafbf3e14d047f0965 (patch)
treee3403d2f539c2d224f6d00f45ea85d38ae26bb77 /src/compiler.rs
parent395b13daf6dd6da0204302d344caa710ea891d62 (diff)
downloadmarkdown-rs-30dccab8678bd134e084afdafbf3e14d047f0965.tar.gz
markdown-rs-30dccab8678bd134e084afdafbf3e14d047f0965.tar.bz2
markdown-rs-30dccab8678bd134e084afdafbf3e14d047f0965.zip
Refactor to solve some clippy issues
Diffstat (limited to 'src/compiler.rs')
-rw-r--r--src/compiler.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index a935367..f2af8f1 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -168,7 +168,6 @@ impl<'a> CompileContext<'a> {
}
/// Turn events and codes into a string of HTML.
-#[allow(clippy::too_many_lines)]
pub fn compile(events: &[Event], bytes: &[u8], options: &Options) -> String {
let mut index = 0;
let mut line_ending_inferred = None;