diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-03-26 00:08:59 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-03-26 00:09:33 -0400 |
commit | f252f4c6595421339cb3119f1ca8ef491077f365 (patch) | |
tree | 8bcbaf555e2e33615446c90923bf8557d02d5007 /src/vcs/git.rs | |
parent | b840c96b787c7f8e5cfca2318516838fb743b61e (diff) | |
download | fancy-prompt-f252f4c6595421339cb3119f1ca8ef491077f365.tar.gz fancy-prompt-f252f4c6595421339cb3119f1ca8ef491077f365.zip |
bump to 2021 edition
Diffstat (limited to 'src/vcs/git.rs')
-rw-r--r-- | src/vcs/git.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcs/git.rs b/src/vcs/git.rs index c745c46..5b8ad96 100644 --- a/src/vcs/git.rs +++ b/src/vcs/git.rs @@ -185,7 +185,7 @@ impl super::VcsInfo for GitInfo { } } -pub fn detect() -> Option<Box<super::VcsInfo>> { +pub fn detect() -> Option<Box<dyn super::VcsInfo>> { start_talking_about_time!("git::detect"); let git = git2::Repository::open_from_env().ok(); |