summaryrefslogtreecommitdiffstats
path: root/src/test_helpers/builders/commit_diff.rs
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2024-02-19 10:00:34 -0330
committerTim Oram <dev@mitmaro.ca>2024-02-19 10:20:42 -0330
commit2227eb36d6b278746392bb9f910385515e58bdbc (patch)
treec0c05d813389a5aac57affe45869daf19339efbc /src/test_helpers/builders/commit_diff.rs
parenta2f99b7e0992a55c2b6ddd8b9854fb2015907da3 (diff)
Reenable the unused lint, and cleanup unused
Diffstat (limited to 'src/test_helpers/builders/commit_diff.rs')
-rw-r--r--src/test_helpers/builders/commit_diff.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test_helpers/builders/commit_diff.rs b/src/test_helpers/builders/commit_diff.rs
index 55b286e..a393aaf 100644
--- a/src/test_helpers/builders/commit_diff.rs
+++ b/src/test_helpers/builders/commit_diff.rs
@@ -27,7 +27,6 @@ impl CommitDiffBuilder {
/// Set the commit.
#[must_use]
- #[allow(clippy::missing_const_for_fn)]
pub(crate) fn commit(mut self, commit: Commit) -> Self {
self.commit = commit;
self
@@ -35,7 +34,6 @@ impl CommitDiffBuilder {
/// Set the parent commit.
#[must_use]
- #[allow(clippy::missing_const_for_fn)]
pub(crate) fn parent(mut self, parent: Commit) -> Self {
self.parent = Some(parent);
self
@@ -71,7 +69,6 @@ impl CommitDiffBuilder {
/// Return the built `CommitDiff`
#[must_use]
- #[allow(clippy::missing_const_for_fn)]
pub(crate) fn build(self) -> CommitDiff {
CommitDiff::new(
self.commit,