Skip to content

Commit b2bc73c

Browse files
author
Nicklas Warming Jacobsen
committed
Remove blanket implementation of PlaintextNullVariant for references.
1 parent 7b30b90 commit b2bc73c

File tree

1 file changed

+0
-11
lines changed
  • vendor/cipherstash-client/src/encryption/plaintext

1 file changed

+0
-11
lines changed

vendor/cipherstash-client/src/encryption/plaintext/mod.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -321,17 +321,6 @@ impl PlaintextNullVariant for &str {
321321
}
322322
}
323323

324-
/// Blanket implementation for all references
325-
/// where the referenced type implements `ToPlaintext`.
326-
impl<T> PlaintextNullVariant for &T
327-
where
328-
T: PlaintextNullVariant,
329-
{
330-
fn null() -> Plaintext {
331-
T::null()
332-
}
333-
}
334-
335324
/// Blanket implementation for `Option<T>` where
336325
/// `T` implements `PlaintextNullVariant`.
337326
impl<T> PlaintextNullVariant for Option<T>

0 commit comments

Comments
 (0)