clippy_utils::macros

Function is_format_macro

Source
pub fn is_format_macro(cx: &LateContext<'_>, macro_def_id: DefId) -> bool
Expand description

Returns true if a given Macro DefId is a format macro (e.g. println!)