index: Format the file.

master
Damir Jelić 2020-04-19 13:43:22 +02:00
parent b75f9d75b6
commit dc5f21562d
1 changed files with 1 additions and 5 deletions

View File

@ -164,11 +164,7 @@ impl Index {
#[new]
#[args(reuse = true)]
fn new(
schema: &Schema,
path: Option<&str>,
reuse: bool,
) -> PyResult<Self> {
fn new(schema: &Schema, path: Option<&str>, reuse: bool) -> PyResult<Self> {
let index = match path {
Some(p) => {
let directory = MmapDirectory::open(p).map_err(to_pyerr)?;