From 4e396118bd205aa94286a5f7bd5062d57bae35e6 Mon Sep 17 00:00:00 2001 From: Sheldon Young Date: Mon, 18 Sep 2023 15:40:43 -0700 Subject: [PATCH] Fix spelling of formula error type --- src/xls.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xls.rs b/src/xls.rs index 4bdcb5a1..dd8d0b87 100644 --- a/src/xls.rs +++ b/src/xls.rs @@ -40,7 +40,7 @@ pub enum XlsError { /// value found val: u8, }, - /// Workook is password protected + /// Workbook is password protected Password, /// Invalid length Len { @@ -403,7 +403,7 @@ impl Xls { return Err(XlsError::Len { expected: 20, found: r.data.len(), - typ: "Formuula", + typ: "Formula", }); } let row = read_u16(r.data); @@ -988,7 +988,7 @@ fn parse_defined_names(rgce: &[u8]) -> Result<(Option, String), XlsError> /// Formula parsing /// -/// CellParsedForumula [MS-XLS 2.5.198.3] +/// CellParsedFormula [MS-XLS 2.5.198.3] fn parse_formula( mut rgce: &[u8], sheets: &[String],