Skip to content

Commit

Permalink
Fix clippy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Dec 13, 2023
1 parent c82f4d8 commit b305932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-version-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ fn git_version_impl(args: Args) -> syn::Result<TokenStream2> {
let manifest_dir = std::env::var_os("CARGO_MANIFEST_DIR")
.ok_or_else(|| error!("CARGO_MANIFEST_DIR is not set"))?;

match describe(&manifest_dir, git_args) {
match describe(manifest_dir, git_args) {
Ok(version) => {
let dependencies = git_dependencies()?;
let prefix = args.prefix.iter();
Expand Down

0 comments on commit b305932

Please sign in to comment.