From 7a8cabafc922eb3cd19a2f58f81109d435603cb5 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Tue, 13 Jun 2023 13:18:42 -0700 Subject: [PATCH] conflicts: remove unused `Conflict::set_{add,remove}()` These seem unused since 19fd8a917afd. --- lib/src/conflicts.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/src/conflicts.rs b/lib/src/conflicts.rs index 3917d4f51..81b2298f0 100644 --- a/lib/src/conflicts.rs +++ b/lib/src/conflicts.rs @@ -66,14 +66,6 @@ impl Conflict { &self.adds } - pub fn set_remove(&mut self, i: usize, value: T) { - self.removes[i] = value; - } - - pub fn set_add(&mut self, i: usize, value: T) { - self.adds[i] = value; - } - /// Remove pairs of entries that match in the removes and adds. pub fn simplify(mut self) -> Self where