Skip to content

Commit

Permalink
chore: warnings for doc issues, deny in pre-commit and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mlegner committed Dec 14, 2023
1 parent 4295724 commit 54f7c18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ tonic-build = "0.10"
tracing = "0.1.40"

[workspace.lints.rust]
missing_docs = "deny"
missing_docs = "warn"

0 comments on commit 54f7c18

Please sign in to comment.