@@ -72,8 +72,8 @@ pub fn blake2x256(input: TokenStream) -> TokenStream {
7272///
7373/// # Arguments
7474///
75- /// - `Abi::Ink` - Uses ink! ABI (BLAKE-2 256-bit hash)
76- /// - `Abi::Sol` - Uses Solidity ABI (Keccak-256 hash)
75+ /// - `Abi::Ink`: Uses ink! ABI (BLAKE-2 256-bit hash)
76+ /// - `Abi::Sol`: Uses Solidity ABI (Keccak-256 hash)
7777///
7878/// # Example
7979///
@@ -101,25 +101,19 @@ pub fn selector_id(input: TokenStream) -> TokenStream {
101101///
102102/// # Arguments
103103///
104- /// - `Abi::Ink` - Uses ink! ABI (BLAKE-2 256-bit hash)
105- /// - `Abi::Sol` - Uses Solidity ABI (Keccak-256 hash)
104+ /// - `Abi::Ink`: Uses ink! ABI (BLAKE-2 256-bit hash)
105+ /// - `Abi::Sol`: Uses Solidity ABI (Keccak-256 hash)
106106///
107107/// # Example
108108///
109109/// ```
110110/// # use ink_macro::selector_bytes;
111111/// # use ink_primitives::abi::Abi;
112112/// // ink! ABI (BLAKE-2)
113- /// assert_eq!(
114- /// selector_bytes!(Abi::Ink, Abi::Ink, "hello"),
115- /// [50, 77, 207, 2],
116- /// );
113+ /// assert_eq!(selector_bytes!(Abi::Ink, "hello"), [50, 77, 207, 2],);
117114///
118115/// // Solidity ABI (Keccak-256)
119- /// assert_eq!(
120- /// selector_bytes!(Abi::Ink, Abi::Sol, "hello"),
121- /// [0x1c, 0x8a, 0xff, 0x95],
122- /// );
116+ /// assert_eq!(selector_bytes!(Abi::Sol, "hello"), [0x1c, 0x8a, 0xff, 0x95],);
123117/// ```
124118#[ proc_macro]
125119pub fn selector_bytes ( input : TokenStream ) -> TokenStream {
0 commit comments