Skip to content

Commit 465cb92

Browse files
committed
fix: Rustfmt
1 parent f8eed0a commit 465cb92

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

crates/markdown/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,12 @@ impl WorldGenerator for Markdown {
209209
for event in parser {
210210
if let Event::Code(code) = &event {
211211
if let Some(dst) = self.hrefs.get(code.as_ref()) {
212-
let tag = Tag::Link { link_type: LinkType::Inline, dest_url: dst.as_str().into(), title: "".into(), id: "".into(), };
212+
let tag = Tag::Link {
213+
link_type: LinkType::Inline,
214+
dest_url: dst.as_str().into(),
215+
title: "".into(),
216+
id: "".into(),
217+
};
213218
events.push(Event::Start(tag.clone()));
214219
events.push(event.clone());
215220
events.push(Event::End(tag.into()));

0 commit comments

Comments
 (0)