Skip to content

Commit 40a4965

Browse files
sshaderConvex, Inc.
authored andcommitted
Switch to Display instead of Debug for log sink configs (#31121)
GitOrigin-RevId: 6b5111b2e591c331f15f8617c2e7c6ef87c61184
1 parent 28e45bf commit 40a4965

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/common/src/pii.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::fmt;
33
/// PII is a light wrapper struct that implements Debug by omitting the contents
44
/// when printing in prod.
55
#[derive(Clone, Copy, Eq, PartialEq)]
6+
#[cfg_attr(any(test, feature = "testing"), derive(proptest_derive::Arbitrary))]
67
pub struct PII<T>(pub T);
78

89
impl<T> std::ops::Deref for PII<T> {

0 commit comments

Comments
 (0)