rustfmt_nightly

Macro style_edition_default

source
macro_rules! style_edition_default {
    ($ty:ident, $config_ty:ty, _ => $default:expr) => { ... };
    ($ty:ident, $config_ty:ty, Edition2024 => $default_2024:expr, _ => $default_2015:expr) => { ... };
}
Expand description

macro to help implement StyleEditionDefault for config options