diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-02-07 14:21:38 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-02-10 14:03:04 +0100 |
commit | fc7a5e47ebb1b1ac3afab3faa4a44b20c16ec1c3 (patch) | |
tree | 495fe0a7917cb7062b134d9dce686ef3fb78a871 | |
parent | 7e1b7d98d1da5a449ae18f6f60bac29b9079b9ab (diff) |
Remove duplicated functions that had sneaked in.
-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 bcb22e06..5da42b52 100644 --- a/src/clang.rs +++ b/src/clang.rs @@ -1482,9 +1482,6 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult { print_cursor(depth, String::from(prefix) + "referenced.", &refd); - print_cursor(depth, - String::from(prefix) + "referenced.", - &refd); } } @@ -1494,9 +1491,6 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult { print_cursor(depth, String::from(prefix) + "canonical.", &canonical); - print_cursor(depth, - String::from(prefix) + "canonical.", - &canonical); } if let Some(specialized) = c.specialized() { @@ -1505,9 +1499,6 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult { print_cursor(depth, String::from(prefix) + "specialized.", &specialized); - print_cursor(depth, - String::from(prefix) + "specialized.", - &specialized); } } } |