Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tevoinea committed Oct 5, 2023
1 parent 53fb4d1 commit 2482a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent/coverage/src/allowlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2482a0a

Please sign in to comment.