macro_rules! abait { ($x:expr) => { Ok(()) } }
mod a {
fn foo() -> Result<(), ()> {
unsafe {
(
abait!(proxy.load_account(ahc_client_end, TEST_ACCOUNT_ID.clone().as_mut().into()))?,
(),
)
};
Ok(())
}
}
is the result of rustfmt with the default config, but it should be wrapping the abait! line. If abait! is replaced with a function abaity, rustfmt will wrap the line.
is the result of
rustfmtwith the default config, but it should be wrapping theabait!line. Ifabait!is replaced with a functionabaity,rustfmtwill wrap the line.