File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ status = [
66 " ci-linux (stable, thumbv6m-none-eabi)" ,
77 " ci-linux (stable, thumbv7m-none-eabi)" ,
88 " ci-linux (1.35.0, x86_64-unknown-linux-gnu)" ,
9+ " fmt" ,
910]
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ name: Code formatting check
77
88jobs :
99 fmt :
10- name : Rustfmt
1110 runs-on : ubuntu-latest
1211 steps :
1312 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -88,8 +88,11 @@ pub trait Pwm {
8888 fn try_get_max_duty ( & self ) -> Result < Self :: Duty , Self :: Error > ;
8989
9090 /// Sets a new duty cycle
91- fn try_set_duty ( & mut self , channel : & Self :: Channel , duty : Self :: Duty )
92- -> Result < ( ) , Self :: Error > ;
91+ fn try_set_duty (
92+ & mut self ,
93+ channel : & Self :: Channel ,
94+ duty : Self :: Duty ,
95+ ) -> Result < ( ) , Self :: Error > ;
9396
9497 /// Sets a new PWM period
9598 fn try_set_period < P > ( & mut self , period : P ) -> Result < ( ) , Self :: Error >
You can’t perform that action at this time.
0 commit comments