diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a4d76e..e21a645 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: - name: Install nextest uses: taiki-e/install-action@nextest - run: cargo nextest run --all-features + - run: cargo test --doc cross-check: name: Check Cross-Compilation diff --git a/satrs/src/events.rs b/satrs/src/events.rs index 5544eb2..352bf5e 100644 --- a/satrs/src/events.rs +++ b/satrs/src/events.rs @@ -21,11 +21,11 @@ //! use satrs::events::{EventU16, EventU32, EventU32TypedSev, Severity, SeverityHigh, SeverityInfo}; //! //! const MSG_RECVD: EventU32TypedSev = EventU32TypedSev::new(1, 0); -//! const MSG_FAILED: EventU32 = EventU32::new(Severity::LOW, 1, 1); +//! const MSG_FAILED: EventU32 = EventU32::new(Severity::Low, 1, 1); //! //! const TEMPERATURE_HIGH: EventU32TypedSev = EventU32TypedSev::new(2, 0); //! -//! let small_event = EventU16::new(Severity::INFO, 3, 0); +//! let small_event = EventU16::new(Severity::Info, 3, 0); //! ``` use core::fmt::Debug; use core::hash::Hash;