ethers-contract-abigen 1.0.2

Code generation for type-safe bindings to Ethereum smart contracts
Documentation
1
2
3
4
5
6
7
8
9
10
/// 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())
    };
}