Parcourir la source

Remove unused lifetime

pull/878/head
Kitaiti Makoto il y a 6 mois
Parent
révision
192c0f8efd
  1. 2
      plume-cli/src/search.rs

2
plume-cli/src/search.rs

@ -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),

Chargement…
Annuler
Enregistrer