Skip to content

Commit f36f81d

Browse files
authored
fix(docs): fix model macro example in docs (#5149)
Signed-off-by: Shanin Roman <[email protected]>
1 parent 0ef7ac7 commit f36f81d

File tree

1 file changed

+3
-3
lines changed
  • crates/iroha_data_model_derive/src

1 file changed

+3
-3
lines changed

crates/iroha_data_model_derive/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@ pub fn enum_ref(input: TokenStream) -> Result<TokenStream> {
9595
/// pub item1: u32,
9696
/// #[cfg(not(feature = "transparent_api"))]
9797
/// pub(crate) item1: u32,
98-
/// pub(super) item2: u64
98+
/// item2: u64
9999
/// }
100100
///
101101
/// #[cfg(not(feature = "transparent_api"))]
102102
/// pub struct DataModel2 {
103103
/// pub item1: u32,
104-
/// pub(super) item2: u64
104+
/// item2: u64
105105
/// }
106106
///
107107
/// #[cfg(feature = "transparent_api")]
108108
/// struct DataModel2 {
109109
/// pub item1: u32,
110-
/// pub(super) item2: u64
110+
/// item2: u64
111111
/// }
112112
/// }
113113
/// */

0 commit comments

Comments
 (0)