Skip to content

Commit 1d1a5f1

Browse files
committed
Fix newlines in highlighter and markdown example
1 parent 23ad153 commit 1d1a5f1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

examples/markdown/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ impl Markdown {
3434
widget::focus_next(),
3535
)
3636
}
37+
3738
fn update(&mut self, message: Message) {
3839
match message {
3940
Message::Edit(action) => {

highlighter/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ impl Highlight {
169169
pub fn font(&self) -> Option<Font> {
170170
self.0.font_style.and_then(|style| {
171171
let bold = style.contains(highlighting::FontStyle::BOLD);
172-
173172
let italic = style.contains(highlighting::FontStyle::ITALIC);
174173

175174
if bold || italic {

0 commit comments

Comments
 (0)