aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcs/git.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcs/git.rs')
-rw-r--r--src/vcs/git.rs2
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();