Skip to content

Commit 27a05e3

Browse files
authored
Update the test for the PWM trait
1 parent 1680829 commit 27a05e3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,8 +834,10 @@ pub trait Capture {
834834
/// # type Channel = Channel;
835835
/// # type Time = KiloHertz;
836836
/// # type Duty = u16;
837-
/// # fn disable(&mut self, _: Channel) { unimplemented!() }
838-
/// # fn enable(&mut self, _: Channel) { unimplemented!() }
837+
/// #. fn disable(&mut self) { unimplemented!() }
838+
/// #. fn enable(&mut self) { unimplemented!() }
839+
/// # fn channel_disable(&mut self, _: Channel) { unimplemented!() }
840+
/// # fn channel_enable(&mut self, _: Channel) { unimplemented!() }
839841
/// # fn get_duty(&self, _: Channel) -> u16 { unimplemented!() }
840842
/// # fn get_max_duty(&self) -> u16 { 0 }
841843
/// # fn set_duty(&mut self, _: Channel, _: u16) {}

0 commit comments

Comments
 (0)