From 01565b0130ef2fba7cfffcd54c642cd47366b1a6 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Fri, 16 Jun 2023 03:49:11 +0200 Subject: [PATCH] remove duplicate new function (#955) stupid --- core/src/location/indexer/rules.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/src/location/indexer/rules.rs b/core/src/location/indexer/rules.rs index c3c71e14a..19f336716 100644 --- a/core/src/location/indexer/rules.rs +++ b/core/src/location/indexer/rules.rs @@ -454,18 +454,6 @@ pub struct IndexerRule { } impl IndexerRule { - #[cfg(test)] - pub fn new(name: String, default: bool, rules: Vec) -> Self { - Self { - id: None, - name, - default, - rules, - date_created: Utc::now(), - date_modified: Utc::now(), - } - } - pub async fn apply( &self, source: impl AsRef,