diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4564b3..4d4989c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,7 @@ on: - # trigger on pushes to the master branch and 1-alpha + # trigger on pushes to the main branch and 1-alpha push: branches: - - master - main - 1-alpha # trigger on all pull requests diff --git a/src/error.rs b/src/error.rs index 7ecada8..959e7f3 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,6 +1,7 @@ -use embedded_hal::digital::ErrorKind::{self, Other}; use std::{error::Error as StdError, fmt, io}; +use embedded_hal::digital::ErrorKind::{self, Other}; + /// Errors that may occur during mocking. #[derive(PartialEq, Clone, Debug)] pub enum MockError {