summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clang.rs9
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);
}
}
}