We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e45bf commit 40a4965Copy full SHA for 40a4965
crates/common/src/pii.rs
@@ -3,6 +3,7 @@ use std::fmt;
3
/// PII is a light wrapper struct that implements Debug by omitting the contents
4
/// when printing in prod.
5
#[derive(Clone, Copy, Eq, PartialEq)]
6
+#[cfg_attr(any(test, feature = "testing"), derive(proptest_derive::Arbitrary))]
7
pub struct PII<T>(pub T);
8
9
impl<T> std::ops::Deref for PII<T> {
0 commit comments