diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-02-07 15:13:06 -0800 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-02-08 10:08:36 -0800 |
commit | 41a109ac25d24863dc5d70cc7e96857a0a9de54c (patch) | |
tree | 48d50d12863ee8683a601fcf1cc5697f8a9a6538 /src/clang.rs | |
parent | de35b8a4c510722480c7af2e02f4322aad45ec55 (diff) |
Run `cargo fmt`
Diffstat (limited to 'src/clang.rs')
-rw-r--r-- | src/clang.rs | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/clang.rs b/src/clang.rs index 86105fc1..15cd60fc 100644 --- a/src/clang.rs +++ b/src/clang.rs @@ -1464,7 +1464,10 @@ pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult { type_to_str(ty.kind()))); } if let Some(ty) = c.ret_type() { - print_indent(depth, format!(" {}ret-type = {}", prefix, type_to_str(ty.kind()))); + print_indent(depth, + format!(" {}ret-type = {}", + prefix, + type_to_str(ty.kind()))); } if let Some(refd) = c.referenced() { @@ -1473,7 +1476,9 @@ 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); + print_cursor(depth, + String::from(prefix) + "referenced.", + &refd); } } @@ -1483,7 +1488,9 @@ 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); + print_cursor(depth, + String::from(prefix) + "canonical.", + &canonical); } if let Some(specialized) = c.specialized() { @@ -1492,7 +1499,9 @@ 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); + print_cursor(depth, + String::from(prefix) + "specialized.", + &specialized); } } } |