remove unnecessary trait bounds

This commit is contained in:
Jorge Aparicio 2017-04-14 00:33:07 -05:00
parent bf17ee7422
commit c6bf89a318
3 changed files with 15 additions and 28 deletions

View file

@ -14,8 +14,8 @@ tasks!(device, {
j1: (Exti0, P1),
});
// WRONG. `init` must have signature `fn(C16)`
fn init(_: C1) {}
// WRONG. `init` must have signature `fn(P0, C16)`
fn init(_: P0, _: C1) {}
fn idle(_: P0) {}