diff --git a/src/main.rs b/src/main.rs index 4781e53..6d97632 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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) {