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