mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
fixing up some spelling errors (#1618)
This commit is contained in:
parent
46afc6c7bb
commit
6e559a2eb4
1
Makefile
1
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' \
|
||||
|
|
|
@ -1852,8 +1852,8 @@ impl Entry<EntryReduced, EntryCommitted> {
|
|||
impl<VALID, STATE> Entry<VALID, STATE> {
|
||||
/// 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);
|
||||
|
|
Loading…
Reference in a new issue