Skip to content

Commit 3079e11

Browse files
committed
thanks clippy
1 parent e5c0200 commit 3079e11

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cargo-smart-release/src/command/release/git.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub(in crate::command::release_impl) fn create_version_tag<'repo>(
6565
tag_name,
6666
target,
6767
git_repository::objs::Kind::Commit,
68-
Some(&crate::git::author()?.to_ref()),
68+
Some(crate::git::author()?.to_ref()),
6969
message,
7070
constraint,
7171
)?;

git-object/tests/immutable/commit/from_bytes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ fn with_trailer() -> crate::Result {
151151
CommitRef {
152152
tree: b"25a19c29c5e36884c1ad85d8faf23f1246b7961b".as_bstr(),
153153
parents: SmallVec::from(vec![b"699ae71105dddfcbb9711ed3a92df09e91a04e90".as_bstr()]),
154-
author: kim.clone(),
154+
author: kim,
155155
committer: kim,
156156
encoding: None,
157157
message: b"test: use gitoxide for link-git-protocol tests

git-object/tests/immutable/commit/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ mod summary {
245245
CommitRef {
246246
tree: "tree".into(),
247247
parents: Default::default(),
248-
author: actor.clone(),
248+
author: actor,
249249
committer: actor,
250250
encoding: None,
251251
message: input.as_bstr(),

0 commit comments

Comments
 (0)