diff options
author | Matan Kushner <hello@matchai.me> | 2019-04-12 19:18:47 -0400 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-04-12 19:18:47 -0400 |
commit | d62bb107f231c3d0ebf47b7c91f26348213d8386 (patch) | |
tree | da6576215cc8b92bba734c64a613905903a61b43 /src/modules/directory.rs | |
parent | 35e219e1f63ae55eee860fbc1770bbc037d45a64 (diff) |
Remove unnecessary lifetimes
Diffstat (limited to 'src/modules/directory.rs')
-rw-r--r-- | src/modules/directory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/directory.rs b/src/modules/directory.rs index b9d9f09bf..6ea6f71c3 100644 --- a/src/modules/directory.rs +++ b/src/modules/directory.rs @@ -49,7 +49,7 @@ pub fn segment(_: &ArgMatches) -> Segment { } /// Get the root directory of a git repo -fn get_repo_root<'a>(repo: &'a Repository) -> &'a Path { +fn get_repo_root(repo: &Repository) -> &Path { if repo.is_bare() { // Bare repos will return the repo root repo.path() |