diff options
author | Tamir Duberstein <tamird@gmail.com> | 2015-03-22 12:23:27 -0700 |
---|---|---|
committer | Tamir Duberstein <tamird@gmail.com> | 2015-03-22 12:57:48 -0700 |
commit | 0a129fab88610eccde8404e894a572a4b453f1b1 (patch) | |
tree | 04e5648b36dd4bdea37a0ca62da644e2f1e95ead | |
parent | f30873d74d2265048f0ea60f798fd420f51df9ed (diff) |
Whitespace
-rw-r--r-- | src/gen.rs | 6 | ||||
-rw-r--r-- | tests/test_func.rs | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -867,9 +867,9 @@ fn cfuncty_to_rs(ctx: &mut GenCtx, }; // From the C90 standard (http://c0x.coding-guidelines.com/6.7.5.3.html) - // 1598 - A declaration of a parameter as “array of type” shall be - // adjusted to “qualified pointer to type”, where the type qualifiers - // (if any) are those specified within the [ and ] of the array type + // 1598 - A declaration of a parameter as “array of type” shall be + // adjusted to “qualified pointer to type”, where the type qualifiers + // (if any) are those specified within the [ and ] of the array type // derivation. let arg_ty = P(match t { &TArray(ref typ, _, ref l) => cty_to_rs(ctx, &TPtr(typ.clone(), false, l.clone())), diff --git a/tests/test_func.rs b/tests/test_func.rs index 0e3c5f74..7ab2f058 100644 --- a/tests/test_func.rs +++ b/tests/test_func.rs @@ -58,4 +58,4 @@ fn with_array_arg() { } ) ); -}
\ No newline at end of file +} |