ethers-contract-abigen 2.0.14

Code generation for type-safe bindings to Ethereum smart contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Asserts the result of an expansion matches source output.
///
/// # Panics
///
/// If the expanded source does not match the quoted source.
macro_rules! assert_quote {
    ($ex:expr, { $($t:tt)* } $(,)?) => {
        assert_eq!(
            $ex.to_string(),
            quote::quote! { $($t)* }.to_string(),
        )
    };
}