summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poveda <christian.poveda@ferrous-systems.com>2022-09-01 12:17:36 -0500
committerEmilio Cobos Álvarez <emilio@crisal.io>2022-09-22 20:25:33 -1000
commitfb5f9b963cfd6ca878d908be7b237177462f4ddb (patch)
tree59e97d3e44e6128e5751555e0660f2e4f846f418 /src
parent15f5094d45a8858ba2d244dc8c6f018a28d48eaa (diff)
document `has_attrs`
Diffstat (limited to 'src')
-rw-r--r--src/clang.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clang.rs b/src/clang.rs
index d66fe445..0fcccaa4 100644
--- a/src/clang.rs
+++ b/src/clang.rs
@@ -665,6 +665,7 @@ impl Cursor {
}
}
+ /// Does this cursor have the given attributes?
pub fn has_attrs<const N: usize>(
&self,
attrs: &[Attribute; N],