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 f6e38fe
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 @@ -62,7 +62,7 @@ repos:
- id: cargo-doc
name: cargo-doc
entry: cargo doc
args: ["--workspace", "--no-deps"]
args: ["--workspace", "--no-deps", "-D", "warnings"]
language: rust
types: [rust]
pass_filenames: false
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 f6e38fe

Please sign in to comment.