From 9a4e798313371a4e6730ee6e128536e05f2f449a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Tue, 15 Apr 2025 15:33:17 +0200 Subject: [PATCH] FIX: Make clippy happy. Manual fixes --- base/src/functions/xlookup.rs | 4 ++-- base/src/types.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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,