diff --git a/crates/mind-body/src/projection/commit.rs b/crates/mind-body/src/projection/commit.rs index 9979fae..2fd83ef 100644 --- a/crates/mind-body/src/projection/commit.rs +++ b/crates/mind-body/src/projection/commit.rs @@ -105,6 +105,8 @@ impl TryFrom for Needs { /// One state change the Interpreter proposes. `promise` names an open promise by its id in the Interpreter's list. #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] #[serde(tag = "kind", rename_all = "snake_case")] +// Each variant is named by its kind on the wire (`promise_open`, `promise_close`, `promise_need`). +#[allow(clippy::enum_variant_names)] pub(crate) enum Proposal { /// `reaffirms` names an open promise of hers, by its id in the Interpreter's list, that these words promise again to /// the same person (map 16.24.2): no entry opens, and the entry gains the words as said again. `needs` is what keeping