From 2b60f6e211d0ef8eb7dd73a46bbc8cf84b3e1117 Mon Sep 17 00:00:00 2001 From: Michel Carroll Date: Wed, 24 Apr 2024 16:40:26 -0400 Subject: [PATCH] Expose dimensions methods to the public --- src/xlsb/cells_reader.rs | 2 +- src/xlsx/cells_reader.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xlsb/cells_reader.rs b/src/xlsb/cells_reader.rs index ab522e9a..124bc5ca 100644 --- a/src/xlsb/cells_reader.rs +++ b/src/xlsb/cells_reader.rs @@ -68,7 +68,7 @@ impl<'a> XlsbCellsReader<'a> { }) } - pub(crate) fn dimensions(&self) -> Dimensions { + pub fn dimensions(&self) -> Dimensions { self.dimensions } diff --git a/src/xlsx/cells_reader.rs b/src/xlsx/cells_reader.rs index ed5a4c17..6e68e337 100644 --- a/src/xlsx/cells_reader.rs +++ b/src/xlsx/cells_reader.rs @@ -75,7 +75,7 @@ impl<'a> XlsxCellReader<'a> { }) } - pub(crate) fn dimensions(&self) -> Dimensions { + pub fn dimensions(&self) -> Dimensions { self.dimensions }