mirror of https://github.com/sharkdp/fd.git
Set static lifetime, fixes #23
This commit is contained in:
parent
4d950ae97c
commit
8c6a9c8e32
|
@ -66,7 +66,7 @@ struct FdOptions {
|
|||
}
|
||||
|
||||
/// Root directory
|
||||
static ROOT_DIR : &str = "/";
|
||||
static ROOT_DIR : &'static str = "/";
|
||||
|
||||
/// Print a search result to the console.
|
||||
fn print_entry(base: &Path, entry: &Path, config: &FdOptions) {
|
||||
|
|
Loading…
Reference in New Issue