diff --git a/Cargo.lock b/Cargo.lock index 296122cc..3f125ce4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -331,7 +331,7 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.10.1" +version = "0.10.2" dependencies = [ "bincode", "bitflags", diff --git a/pulldown-cmark/src/firstpass.rs b/pulldown-cmark/src/firstpass.rs index 0adfdd08..ff50ad24 100644 --- a/pulldown-cmark/src/firstpass.rs +++ b/pulldown-cmark/src/firstpass.rs @@ -1486,10 +1486,7 @@ impl<'a, 'b> FirstPass<'a, 'b> { } self.allocs.footdefs.0.insert( UniCase::new(label.clone()), - FootnoteDef { - span: start..i, - use_count: 0, - }, + FootnoteDef { use_count: 0 }, ); self.tree.append(Item { start, diff --git a/pulldown-cmark/src/parse.rs b/pulldown-cmark/src/parse.rs index 29331aed..259cf73d 100644 --- a/pulldown-cmark/src/parse.rs +++ b/pulldown-cmark/src/parse.rs @@ -1436,7 +1436,6 @@ pub struct LinkDef<'a> { /// Contains the destination URL, title and source span of a reference definition. #[derive(Clone, Debug)] pub struct FootnoteDef { - pub span: Range, pub use_count: usize, }