Skip to content

Commit

Permalink
Shorten
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb committed Jul 25, 2023
1 parent 1afbb4a commit f1ceefc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ impl<'de, T: Deserialize<'de>> Deserialize<'de> for Secret<T> {
/// This abstraction enables [expose_secret] to be used to serialize both `Secret<T>` and
/// `Option<Secret<T>`.
///
/// This type is currently private. I would be interested in contributions that make it
/// public. If you feel that using `SerializableSecret` could be useful for your use
/// case please open a PR :)
/// This type is currently private. If you feel that a public `SerializableSecret` could
/// be useful for your use case please open a PR :)
pub trait SerializableSecret<T> {
type Exposed<'a>: Serialize
where
Expand Down

0 comments on commit f1ceefc

Please sign in to comment.