Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Oct 7, 2024
1 parent 2d5aad9 commit 93144a3
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ pub use v0::*;
derive(Serialize, Deserialize)
)]
pub enum DocumentDeleteTransition {
#[display( "V0({})", "_0")]
#[display("V0({})", "_0")]
V0(DocumentDeleteTransitionV0),
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub use super::super::document_base_transition::IDENTIFIER_FIELDS;
derive(Serialize, Deserialize),
serde(rename_all = "camelCase")
)]
#[display( "Base: {}", "base")]
#[display("Base: {}", "base")]
pub struct DocumentDeleteTransitionV0 {
#[cfg_attr(feature = "state-transition-serde-conversion", serde(flatten))]
pub base: DocumentBaseTransition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ pub use v0::*;
derive(Serialize, Deserialize)
)]
pub enum DocumentPurchaseTransition {
#[display( "V0({})", "_0")]
#[display("V0({})", "_0")]
V0(DocumentPurchaseTransitionV0),
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub use super::super::document_base_transition::IDENTIFIER_FIELDS;
derive(Serialize, Deserialize),
serde(rename_all = "camelCase")
)]
#[display( "Base: {}", "base")]
#[display("Base: {}", "base")]
pub struct DocumentPurchaseTransitionV0 {
#[cfg_attr(feature = "state-transition-serde-conversion", serde(flatten))]
pub base: DocumentBaseTransition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub use v0::*;
derive(Serialize, Deserialize)
)]
pub enum DocumentReplaceTransition {
#[display( "V0({})", "_0")]
#[display("V0({})", "_0")]
V0(DocumentReplaceTransitionV0),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mod property_names {
derive(Serialize, Deserialize),
serde(rename_all = "camelCase")
)]
#[display( "Base: {}, Revision: {}, Data: {:?}", "base", "revision", "data")]
#[display("Base: {}, Revision: {}, Data: {:?}", "base", "revision", "data")]
pub struct DocumentReplaceTransitionV0 {
#[cfg_attr(feature = "state-transition-serde-conversion", serde(flatten))]
pub base: DocumentBaseTransition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ pub use v0::*;
derive(Serialize, Deserialize)
)]
pub enum DocumentTransferTransition {
#[display( "V0({})", "_0")]
#[display("V0({})", "_0")]
V0(DocumentTransferTransitionV0),
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ pub use v0::*;
derive(Serialize, Deserialize)
)]
pub enum DocumentUpdatePriceTransition {
#[display( "V0({})", "_0")]
#[display("V0({})", "_0")]
V0(DocumentUpdatePriceTransitionV0),
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ mod property_names {
derive(Serialize, Deserialize),
serde(rename_all = "camelCase")
)]
#[display( "Base: {}, Revision: {}, Price: {}", "base", "revision", "price")]
#[display("Base: {}, Revision: {}, Price: {}", "base", "revision", "price")]
pub struct DocumentUpdatePriceTransitionV0 {
#[cfg_attr(feature = "state-transition-serde-conversion", serde(flatten))]
pub base: DocumentBaseTransition,
Expand Down

0 comments on commit 93144a3

Please sign in to comment.