Skip to content

Commit dbf5f4e

Browse files
committed
cargo fmt
1 parent 42ca989 commit dbf5f4e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rfd-data/src/content/asciidoc.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ impl<'a> RfdAsciidoc<'a> {
133133
Self::body(content).and_then(|body| {
134134
// After splitting the document at the title, the very first line (asuming it is non-empty)
135135
// is considered the author line
136-
body.split_inclusive('\n').nth(0).filter(|&line| !(line.is_empty() || line == "\n"))
136+
body.split_inclusive('\n')
137+
.nth(0)
138+
.filter(|&line| !(line.is_empty() || line == "\n"))
137139
})
138140
}
139141

0 commit comments

Comments
 (0)