Function clippy_utils::match_libc_symbol
source · pub fn match_libc_symbol(cx: &LateContext<'_>, did: DefId, name: &str) -> bool
Expand description
Checks if the given DefId
matches the libc
item.
pub fn match_libc_symbol(cx: &LateContext<'_>, did: DefId, name: &str) -> bool
Checks if the given DefId
matches the libc
item.