Skip to content

Commit 0820122

Browse files
committed
Document newly public extent member
1 parent 40346bc commit 0820122

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/clang.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,8 +789,10 @@ impl<'a> Drop for RawTokens<'a> {
789789
#[derive(Debug)]
790790
pub struct ClangToken {
791791
spelling: CXString,
792+
/// The extent of the token. This is the same as the relevant member from
793+
/// `CXToken`.
792794
pub extent: CXSourceRange,
793-
/// The kind of token, this is the same as the relevant member from
795+
/// The kind of the token. This is the same as the relevant member from
794796
/// `CXToken`.
795797
pub kind: CXTokenKind,
796798
}

0 commit comments

Comments
 (0)