clippy_utils

Function 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.