Skip to content

Commit 9f745ab

Browse files
committed
Remove duplicated functions that had sneaked in.
1 parent 5e99cb2 commit 9f745ab

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/clang.rs

-9
Original file line numberDiff line numberDiff line change
@@ -1393,9 +1393,6 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult {
13931393
print_cursor(depth,
13941394
String::from(prefix) + "referenced.",
13951395
&refd);
1396-
print_cursor(depth,
1397-
String::from(prefix) + "referenced.",
1398-
&refd);
13991396
}
14001397
}
14011398

@@ -1405,9 +1402,6 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult {
14051402
print_cursor(depth,
14061403
String::from(prefix) + "canonical.",
14071404
&canonical);
1408-
print_cursor(depth,
1409-
String::from(prefix) + "canonical.",
1410-
&canonical);
14111405
}
14121406

14131407
if let Some(specialized) = c.specialized() {
@@ -1416,9 +1410,6 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult {
14161410
print_cursor(depth,
14171411
String::from(prefix) + "specialized.",
14181412
&specialized);
1419-
print_cursor(depth,
1420-
String::from(prefix) + "specialized.",
1421-
&specialized);
14221413
}
14231414
}
14241415
}

0 commit comments

Comments
 (0)