diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-06-08 12:00:34 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-06-08 12:00:49 +0200 |
commit | 16189e443c86f06351ef4b8e1c729b67df9d8bc1 (patch) | |
tree | 6ab77538c18959837adfca4ff3c73eaabe8a2a8b | |
parent | b91353c97802a2901bb5d74640ada50a20a692d3 (diff) |
Remove unused Token definition.
-rw-r--r-- | src/clang.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/clang.rs b/src/clang.rs index 003ed2a6..12ac46ce 100644 --- a/src/clang.rs +++ b/src/clang.rs @@ -1540,15 +1540,6 @@ impl Drop for Index { } } -/// A token emitted by clang's lexer. -#[derive(Debug)] -pub struct Token { - /// The kind of token this is. - pub kind: CXTokenKind, - /// A display name for this token. - pub spelling: String, -} - /// A translation unit (or "compilation unit"). pub struct TranslationUnit { x: CXTranslationUnit, |