diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aacd542..f0b0af2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,7 @@ repos: pass_filenames: false - id: cargo-doc name: cargo-doc - entry: cargo doc + entry: env RUSTDOCFLAGS="-D warnings" cargo doc args: ["--workspace", "--no-deps"] language: rust types: [rust]