Skip to content

Commit

Permalink
fix(docs): fix model macro example in docs (#5149)
Browse files Browse the repository at this point in the history
Signed-off-by: Shanin Roman <[email protected]>
  • Loading branch information
Erigara authored Oct 16, 2024
1 parent 0ef7ac7 commit f36f81d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/iroha_data_model_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,19 @@ pub fn enum_ref(input: TokenStream) -> Result<TokenStream> {
/// pub item1: u32,
/// #[cfg(not(feature = "transparent_api"))]
/// pub(crate) item1: u32,
/// pub(super) item2: u64
/// item2: u64
/// }
///
/// #[cfg(not(feature = "transparent_api"))]
/// pub struct DataModel2 {
/// pub item1: u32,
/// pub(super) item2: u64
/// item2: u64
/// }
///
/// #[cfg(feature = "transparent_api")]
/// struct DataModel2 {
/// pub item1: u32,
/// pub(super) item2: u64
/// item2: u64
/// }
/// }
/// */
Expand Down

0 comments on commit f36f81d

Please sign in to comment.