Remove unused lifetime

This commit is contained in:
Kitaiti Makoto 2021-01-16 12:21:49 +09:00
parent 35e71b0f8a
commit 192c0f8efd

View file

@ -106,7 +106,7 @@ fn refill<'a>(args: &ArgMatches<'a>, conn: &Connection, searcher: Option<Searche
searcher.commit();
}
fn unlock<'a>(args: &ArgMatches<'a>) {
fn unlock(args: &ArgMatches) {
let path = match args.value_of("path") {
None => Path::new(&CONFIG.search_index),
Some(x) => Path::new(x),