Skip to content

Commit ba21254

Browse files
committed
clippy: put backticks around symlink_root in docs
``` src/export.rs:27:1: 53:2 warning: you should put `symlink_root` between ticks in the documentation, #[warn(doc_markdown)] on by default src/export.rs:27 pub fn unexport(pin_config: &PinConfig, src/export.rs:28 symlink_root: Option<&str>) src/export.rs:29 -> Result<(), sysfs_gpio::Error> { src/export.rs:30 if let Some(symroot) = symlink_root { src/export.rs:31 // create symlink for each name src/export.rs:32 for name in &pin_config.names { ... src/export.rs:27:1: 53:2 help: for further information visit https://github.com/Manishearth/rust-clippy/wiki#doc_markdown ``` Signed-off-by: Paul Osborne <[email protected]>
1 parent 1e7834d commit ba21254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/export.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use sysfs_gpio;
1919
/// actions:
2020
///
2121
/// 1. For each GPIO name/alias, the corresponding symlink is remvoed from
22-
/// `/var/run/gpio/<name>` (or an alternate configured symlink_root).
22+
/// `/var/run/gpio/<name>` (or an alternate configured `symlink_root`).
2323
/// 2. The GPIO pin istself is unexported (vai /sys/class/gpio/unexport)
2424
///
2525
/// If the GPIO was already unexported, this function will continue

0 commit comments

Comments
 (0)