Add // comments to all use statements in driver .rs files

- Add // comments above top-level use imports in uart.rs, blink.rs, button.rs
- Add // comments above test module use imports (use super::*, Infallible,
  ErrorType) in all 8 driver .rs files
- All 8 drivers build, all 75 tests pass
This commit is contained in:
Kevin Thomas
2026-03-25 18:54:19 -04:00
parent 790b35add8
commit 3ade64aff8
8 changed files with 21 additions and 0 deletions
+4
View File
@@ -25,6 +25,7 @@
//! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
//! SOFTWARE.
// Embedded HAL digital output traits for GPIO pin control
use embedded_hal::digital::{OutputPin, StatefulOutputPin};
/// GPIO output / LED blink driver that owns a single output pin.
@@ -95,8 +96,11 @@ impl<P: OutputPin + StatefulOutputPin> BlinkDriver<P> {
#[cfg(test)]
mod tests {
// Import all parent module items
use super::*;
// Infallible error type for mock pin implementations
use core::convert::Infallible;
// Error type trait for mock pin implementations
use embedded_hal::digital::ErrorType;
struct MockPin {