Skip to content

Commit 1b82301

Browse files
committed
Bump pulldown-cmark version to 0.9
Signed-off-by: hi-rustin <[email protected]>
1 parent 8f6b536 commit 1b82301

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ opener = "0.5.0"
4343
# Used by `curl` or `reqwest` backend although it isn't imported
4444
# by our rustup.
4545
openssl = {version = "0.10", optional = true}
46-
pulldown-cmark = {version = "0.8", default-features = false}
46+
pulldown-cmark = {version = "0.9", default-features = false}
4747
rand = "0.8"
4848
regex = "1"
4949
remove_dir_all = "0.7.0"

src/cli/markdown.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl<'a, T: Terminal + io::Write + 'a> LineFormatter<'a, T> {
123123
Tag::Paragraph => {
124124
self.wrapper.write_line();
125125
}
126-
Tag::Heading(_level) => {
126+
Tag::Heading(_level, _identifier, _classes) => {
127127
self.push_attr(Attr::Bold);
128128
self.wrapper.write_line();
129129
}
@@ -160,7 +160,7 @@ impl<'a, T: Terminal + io::Write + 'a> LineFormatter<'a, T> {
160160
Tag::Paragraph => {
161161
self.wrapper.write_line();
162162
}
163-
Tag::Heading(_level) => {
163+
Tag::Heading(_level, _identifier, _classes) => {
164164
self.wrapper.write_line();
165165
self.pop_attr();
166166
}

0 commit comments

Comments
 (0)