Skip to content

Commit

Permalink
ci: check documentation builds free of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Feb 5, 2024
1 parent 5baeeae commit bf54068
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
- name: Run fmt
run: cargo fmt --all -- --check

- name: Build documentation
run: cargo doc --no-deps --workspace
env:
RUSTDOCFLAGS: -D warnings

- name: Run clippy
run: cargo clippy --all-targets -- -D warnings

Expand Down
2 changes: 1 addition & 1 deletion constraint-evaluation-generator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ fn generate_constraint_code(constraints: Constraints) -> TokenStream {
)
}

/// Consumes every `ConstraintCircuitMonad`, returning their corresponding `ConstraintCircuit`s.
/// Consumes every [`ConstraintCircuitMonad`], returning their corresponding [`ConstraintCircuit`]s.
fn consume<II: InputIndicator>(
constraints: Vec<ConstraintCircuitMonad<II>>,
) -> Vec<ConstraintCircuit<II>> {
Expand Down
4 changes: 4 additions & 0 deletions triton-tui/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//! Triton TUI is a terminal user interface for Triton VM. It allows executing and debugging
//! programs in Triton assembly. It is intended to be used as a standalone application;
//! see the [README](https://crates.io/crates/triton-tui) for more information.

use clap::Parser;
use color_eyre::eyre::Result;
use tracing::error;
Expand Down

0 comments on commit bf54068

Please sign in to comment.