remove unused function

This commit is contained in:
panicbit 2020-11-15 21:42:13 +01:00
parent bbeb697bb1
commit add2f30ca6

View file

@ -467,15 +467,6 @@ pub enum HeadingLevel {
H3, H3,
} }
impl Heading {
fn new_lossy(level: HeadingLevel, line: &str) -> Self {
Self {
level,
text: HeadingText::new_lossy(line),
}
}
}
struct HeadingText(String); struct HeadingText(String);
impl HeadingText { impl HeadingText {