diff --git a/base/src/functions/xlookup.rs b/base/src/functions/xlookup.rs index 016d97a..ed90ae3 100644 --- a/base/src/functions/xlookup.rs +++ b/base/src/functions/xlookup.rs @@ -141,9 +141,9 @@ impl Model { /// * 1 - Perform a search starting at the first item. This is the default. /// * -1 - Perform a reverse search starting at the last item. /// * 2 - Perform a binary search that relies on lookup_array being sorted - /// in ascending order. If not sorted, invalid results will be returned. + /// in ascending order. If not sorted, invalid results will be returned. /// * -2 - Perform a binary search that relies on lookup_array being sorted - /// in descending order. If not sorted, invalid results will be returned. + /// in descending order. If not sorted, invalid results will be returned. pub(crate) fn fn_xlookup(&mut self, args: &[Node], cell: CellReferenceIndex) -> CalcResult { if args.len() < 3 || args.len() > 6 { return CalcResult::new_args_number_error(cell); diff --git a/base/src/types.rs b/base/src/types.rs index 50e4800..3b516af 100644 --- a/base/src/types.rs +++ b/base/src/types.rs @@ -62,8 +62,8 @@ pub struct DefinedName { } /// * state: -/// 18.18.68 ST_SheetState (Sheet Visibility Types) -/// hidden, veryHidden, visible +/// 18.18.68 ST_SheetState (Sheet Visibility Types) +/// hidden, veryHidden, visible #[derive(Encode, Decode, Debug, PartialEq, Eq, Clone)] pub enum SheetState { Visible,