diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96c89aa..e924fa4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,6 +61,12 @@ jobs: command: fmt args: --check + - name: cargo doc + uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps --config 'build.rustdocflags="-D warnings"' + - name: cargo clippy uses: actions-rs/cargo@v1 with: diff --git a/src/lib.rs b/src/lib.rs index e118c03..001384a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ //! - Supports CBOR and JSON encodings, controlled by the `ciborium` and //! `serde_json` features. //! -//! - An "Intermediate Validation Tree" ([`ivt`](crate::ivt)) is constructed +//! - An "Intermediate Validation Tree" ([`ivt`]) is constructed //! from the CDDL AST; this removes some of the CDDL syntax detail resulting //! in a simplified tree that can be more easily validated. The IVT is //! constructed almost entirely of [`Node`](crate::ivt::Node) elements,