//! `Checker` implementation for C comments.
#![allow(clippy::wildcard_imports, clippy::enum_glob_use)]
use super::*;
impl Checker for CcommentCode {
fn is_comment(node: &Node) -> bool {
node.kind_id() == Ccomment::Comment
}
fn is_useful_comment(node: &Node, code: &[u8]) -> bool {
get_aho_corasick_match(&code[node.start_byte()..node.end_byte()])
}
impl_simple_is_string!(Ccomment, StringLiteral, RawStringLiteral);
}