Skip to content

Commit 2ad9c6b

Browse files
committed
Fix doc links
`cargo doc` now helpfully warns about broken links, so this has been pretty straight-forward. Close #1
1 parent 1bc48e8 commit 2ad9c6b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/stspin220.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ use crate::{Dir, SetStepMode, Step, StepMode256};
8686

8787
/// The STSPIN220 driver API
8888
///
89-
/// You can create an instance of this struct by calling [`STSPIN220::new`]. See
90-
/// [module documentation] for a full example that uses this API.
89+
/// You can create an instance of this struct by calling
90+
/// [`STSPIN220::from_step_dir_pins`]. See [module documentation] for a full
91+
/// example that uses this API.
9192
///
9293
/// [module documentation]: index.html
9394
pub struct STSPIN220<
@@ -151,7 +152,7 @@ impl<EnableFault, StepMode3, DirMode4>
151152
///
152153
/// This method is only available when those pins have not been provided
153154
/// yet. After this method has been called once, you can use
154-
/// [`STSPIN::set_set_mode`] to change the step mode again.
155+
/// [`STSPIN220::set_step_mode`] to change the step mode again.
155156
pub fn enable_mode_control<
156157
StandbyReset,
157158
Mode1,

0 commit comments

Comments
 (0)