From 91a68de459b7d22a8dfb8a324e43740fca3e0a35 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 22 Mar 2024 07:35:24 +0000 Subject: chore: nix flake update update nix dependancies to latest version using default update options --- src/git.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index 5afb1e4..86b59fb 100644 --- a/src/git.rs +++ b/src/git.rs @@ -45,9 +45,11 @@ pub trait RepoActions { fn get_commit_parent(&self, commit: &Sha1Hash) -> Result; fn get_commit_message(&self, commit: &Sha1Hash) -> Result; fn get_commit_message_summary(&self, commit: &Sha1Hash) -> Result; + #[allow(clippy::doc_link_with_quotes)] /// returns vector ["name", "email", "unixtime", "offset"] /// eg ["joe bloggs", "joe@pm.me", "12176","-300"] fn get_commit_author(&self, commit: &Sha1Hash) -> Result>; + #[allow(clippy::doc_link_with_quotes)] /// returns vector ["name", "email", "unixtime", "offset"] /// eg ["joe bloggs", "joe@pm.me", "12176","-300"] fn get_commit_comitter(&self, commit: &Sha1Hash) -> Result>; @@ -1681,7 +1683,7 @@ mod tests { let mut events = generate_cover_letter_and_patch_events( Some(("test".to_string(), "test".to_string())), &git_repo, - &vec![oid_to_sha1(&oid1), oid_to_sha1(&oid2), oid_to_sha1(&oid3)], + &[oid_to_sha1(&oid1), oid_to_sha1(&oid2), oid_to_sha1(&oid3)], &TEST_KEY_1_KEYS, &RepoRef::try_from(generate_repo_ref_event()).unwrap(), &None, -- cgit v1.2.3