Fix formatting issue

main
Blake Rain 2023-10-27 11:52:39 +01:00
parent eaf3b16ea7
commit e7c0b06e8c
1 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,9 @@ fn load_documents(directory: &str) -> Result<Vec<Document<String>>, Error> {
let content = std::fs::read(entry.path())?;
let (Some(front_matter), matter) = parse_front_matter(&content[..])? else {
return Err(Error::MissingFrontMatter(entry.path().to_string_lossy().to_string()))
return Err(Error::MissingFrontMatter(
entry.path().to_string_lossy().to_string(),
));
};
let slug = entry