From e6a36b5236aa184c281a985af52fdf20a4f22d19 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Mon, 5 Jun 2023 15:12:24 +0200 Subject: [PATCH] unused PutError accessors --- libs/layer_map/src/inmem_shared_historic_imm.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/layer_map/src/inmem_shared_historic_imm.rs b/libs/layer_map/src/inmem_shared_historic_imm.rs index c40ea2db64..d7699a248c 100644 --- a/libs/layer_map/src/inmem_shared_historic_imm.rs +++ b/libs/layer_map/src/inmem_shared_historic_imm.rs @@ -127,15 +127,6 @@ pub enum PutErrorKind { AlreadyHaveInMemoryRecordForKeyAndLsn, } -impl PutError { - pub fn delta(&self) -> &T::DeltaRecord { - &self.delta - } - pub fn kind(&self) -> &PutErrorKind { - &self.kind - } -} - impl std::fmt::Debug for PutError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.debug_struct("PutError")