aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/html_flow.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-22 15:24:18 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-22 15:24:18 +0200
commit84008b9a22bdf1af744c1b830241be33d14862ea (patch)
treefe3dd66a25c2a7c8ffd4ffa4fdf667d816fe1288 /src/construct/html_flow.rs
parent227e844154d9a592b80a88d7b8731d3d2f2fb3e2 (diff)
downloadmarkdown-rs-84008b9a22bdf1af744c1b830241be33d14862ea.tar.gz
markdown-rs-84008b9a22bdf1af744c1b830241be33d14862ea.tar.bz2
markdown-rs-84008b9a22bdf1af744c1b830241be33d14862ea.zip
Refactor some unneeded assignments
Diffstat (limited to 'src/construct/html_flow.rs')
-rw-r--r--src/construct/html_flow.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/construct/html_flow.rs b/src/construct/html_flow.rs
index bb7457d..d0e0558 100644
--- a/src/construct/html_flow.rs
+++ b/src/construct/html_flow.rs
@@ -219,6 +219,7 @@ fn open(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
let mut info = Info {
// Assume basic.
kind: Kind::Basic,
+ // Assume closing tag (or no tag).
start_tag: false,
buffer: vec![],
index: 0,