From 6e559a2eb4cbb0e2827392658d269115dab46196 Mon Sep 17 00:00:00 2001 From: James Hodgkinson Date: Thu, 11 May 2023 08:30:13 +1000 Subject: [PATCH] fixing up some spelling errors (#1618) --- Makefile | 1 + server/lib/src/entry.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d15b9827..53269ecd1 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,7 @@ install-tools: cargo install --path tools/cli --force .PHONY: codespell +codespell: ## spell-check things. codespell: codespell -c \ -L 'crate,unexpect,Pres,pres,ACI,aci,te,ue,aNULL' \ diff --git a/server/lib/src/entry.rs b/server/lib/src/entry.rs index 400c45eaf..c72095bde 100644 --- a/server/lib/src/entry.rs +++ b/server/lib/src/entry.rs @@ -1852,8 +1852,8 @@ impl Entry { impl Entry { /// This internally adds an AVA to the entry. If the entry was newely added, then true is returned. /// If the value already existed, or was unable to be added, false is returned. Alternately, - /// you can think of this boolean as "if a write occured to the structure", true indicating that - /// a change occured. + /// you can think of this boolean as "if a write occurred to the structure", true indicating that + /// a change occurred. fn add_ava_int(&mut self, attr: &str, value: Value) -> bool { if let Some(vs) = self.attrs.get_mut(attr) { let r = vs.insert_checked(value);