Skip to content

Commit 891e337

Browse files
bors[bot]eldruin
andauthored
Merge #266
266: Fix code formatting + check it on bors r=therealprof a=eldruin This was missed in #246. Co-authored-by: Diego Barrios Romero <[email protected]>
2 parents d3ca28e + e21b301 commit 891e337

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/bors.toml

+1
Original file line numberDiff line numberDiff 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 (stable)",
910
]

src/pwm.rs

+5-2
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)