Skip to content

Commit

Permalink
Document newly public extent member
Browse files Browse the repository at this point in the history
  • Loading branch information
kulp committed Jun 20, 2020
1 parent 40346bc commit 0820122
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/clang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,8 +789,10 @@ impl<'a> Drop for RawTokens<'a> {
#[derive(Debug)]
pub struct ClangToken {
spelling: CXString,
/// The extent of the token. This is the same as the relevant member from
/// `CXToken`.
pub extent: CXSourceRange,
/// The kind of token, this is the same as the relevant member from
/// The kind of the token. This is the same as the relevant member from
/// `CXToken`.
pub kind: CXTokenKind,
}
Expand Down

0 comments on commit 0820122

Please sign in to comment.