clippy
This commit is contained in:
parent
a9a23251b7
commit
09372534cd
7 changed files with 2 additions and 21 deletions
|
@ -517,6 +517,6 @@ pub fn global_gitignore_path() -> Option<PathBuf> {
|
|||
pub fn global_gitignore_path() -> Option<PathBuf> {
|
||||
static GLOBAL_GITIGNORE_PATH: OnceLock<Option<PathBuf>> = OnceLock::new();
|
||||
GLOBAL_GITIGNORE_PATH
|
||||
.get_or_init(|| ::ignore::gitignore::gitconfig_excludes_path())
|
||||
.get_or_init(::ignore::gitignore::gitconfig_excludes_path)
|
||||
.clone()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue