Skip to content

Commit 1e83765

Browse files
committed
fix: silence pii filter rustdoc warning
Signed-off-by: lucarlig <luca.carlig@ibm.com>
1 parent 43e8670 commit 1e83765

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/rust/python-package/pii_filter/src/detector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ impl PIIDetectorRust {
166166
/// * `max_text_bytes` (int): Maximum text payload size to inspect
167167
/// * `max_nested_depth` (int): Maximum nested container depth to inspect
168168
/// * `max_collection_items` (int): Maximum items to inspect per collection
169-
/// * `custom_patterns` (list[dict]): Additional regex-based PII patterns
170-
/// * `whitelist_patterns` (list[str]): Regex patterns to exclude from detection
169+
/// * `custom_patterns` (`list[dict]`): Additional regex-based PII patterns
170+
/// * `whitelist_patterns` (`list[str]`): Regex patterns to exclude from detection
171171
#[new]
172172
pub fn new(config: &Bound<'_, PyAny>) -> PyResult<Self> {
173173
// Extract configuration from Python object (dict or Pydantic model)

0 commit comments

Comments
 (0)