Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Martin committed Apr 9, 2023
1 parent 6497de7 commit e0b4569
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ impl Index {
};

if let Err(err) = fs::create_dir_all(path.parent().unwrap()) {
bail!("failed to create data dir `{}`: {err}", path.parent().unwrap().display());
bail!(
"failed to create data dir `{}`: {err}",
path.parent().unwrap().display()
);
}

let database = match unsafe { Database::builder().open_mmapped(&path) } {
Expand Down

0 comments on commit e0b4569

Please sign in to comment.