diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-21 15:44:49 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-21 15:44:49 +0200 |
commit | c43ad9bfb9467627df1b40266ac7b0d570a55a62 (patch) | |
tree | 27d7b01048a2e161f055388cecaa6bf84e1c01a4 /src/construct/heading_atx.rs | |
parent | 2d0dfe66d423e707b7de60d9bde0cec7933580fe (diff) | |
download | markdown-rs-c43ad9bfb9467627df1b40266ac7b0d570a55a62.tar.gz markdown-rs-c43ad9bfb9467627df1b40266ac7b0d570a55a62.tar.bz2 markdown-rs-c43ad9bfb9467627df1b40266ac7b0d570a55a62.zip |
Refactor to move `index` field to `point`
Diffstat (limited to 'src/construct/heading_atx.rs')
-rw-r--r-- | src/construct/heading_atx.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/construct/heading_atx.rs b/src/construct/heading_atx.rs index 0e4cda5..e544064 100644 --- a/src/construct/heading_atx.rs +++ b/src/construct/heading_atx.rs @@ -216,7 +216,6 @@ pub fn resolve(tokenizer: &mut Tokenizer, map: &mut EditMap) -> bool { event_type: EventType::Enter, token_type: Token::HeadingAtxText, point: tokenizer.events[start].point.clone(), - index: tokenizer.events[start].index, link: None, }], ); @@ -231,7 +230,6 @@ pub fn resolve(tokenizer: &mut Tokenizer, map: &mut EditMap) -> bool { event_type: EventType::Exit, token_type: Token::HeadingAtxText, point: tokenizer.events[end].point.clone(), - index: tokenizer.events[end].index, link: None, }], ); |