CodeQL library for Rust
codeql/rust-all 0.2.18 (changelog, source)
Search

Member predicate Impl::Function::getAPrecedingComment

Gets a comment preceding this function.

A comment is considered preceding if it occurs immediately before this function or if only other comments occur between the comment and this function.

Comment getAPrecedingComment()