Skip to content

Commit c28d0ab

Browse files
committed
Fix code formatting
1 parent d3ca28e commit c28d0ab

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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)