From 2482a0a7bff2677790c5ca82f21b6e72af20c25b Mon Sep 17 00:00:00 2001 From: Teo Voinea Date: Thu, 5 Oct 2023 14:05:19 -0400 Subject: [PATCH] docs --- src/agent/coverage/src/allowlist.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent/coverage/src/allowlist.rs b/src/agent/coverage/src/allowlist.rs index 1f1ae98ea3..11996f3b68 100644 --- a/src/agent/coverage/src/allowlist.rs +++ b/src/agent/coverage/src/allowlist.rs @@ -74,7 +74,7 @@ impl AllowList { self.allow.is_match(path) && !self.deny.is_match(path) } - /// Build a new `Allowlist` that adds the allow and deny rules of `other` to `self`. + /// Modifies the AllowList by adding the allow and deny rules of `other` to `self`. pub fn extend_in_place(&mut self, other: &Self) { let allow = add_regexsets(&self.allow, &other.allow); let deny = add_regexsets(&self.deny, &other.deny);