We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac6136 commit e16ae99Copy full SHA for e16ae99
examples/blinky.rs
@@ -58,9 +58,9 @@ fn get_args() -> Option<Arguments> {
58
Err(_) => return None,
59
};
60
Some(Arguments {
61
- pin: pin,
62
- duration_ms: duration_ms,
63
- period_ms: period_ms,
+ pin,
+ duration_ms,
+ period_ms,
64
})
65
}
66
src/error.rs
@@ -1,5 +1,3 @@
1
-#[cfg(not(target_os = "wasi"))]
2
-use nix;
3
use std::convert;
4
use std::fmt;
5
use std::io;
0 commit comments