From 2e9b1b6ba79ffaf666ac2ea8d344172635ff39e9 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Fri, 16 Dec 2022 14:35:21 -0600 Subject: [PATCH] docs: comment reason for force_no_match --- src/subscription.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/subscription.rs b/src/subscription.rs index ecadb11..725d39c 100644 --- a/src/subscription.rs +++ b/src/subscription.rs @@ -37,6 +37,9 @@ pub struct ReqFilter { #[serde(skip)] pub tags: Option>>, /// Force no matches due to malformed data + // we can't represent it in the req filter, so we don't want to + // erroneously match. This basically indicates the req tried to + // do something invalid. pub force_no_match: bool, }