Skip to content

Commit

Permalink
ci: deny warnings for rustdoc.
Browse files Browse the repository at this point in the history
This commit updates the CI config to also deny warnings from `rustdoc`.

One finding related to a malformed HTML tag is fixed to ensure CI passes
with this new config.
  • Loading branch information
cpu committed Aug 28, 2023
1 parent b5882f4 commit 9714b8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings

jobs:
clippy:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ impl DnType {
pub enum DnValue {
/// A string of characters from the T.61 character set
TeletexString(Vec<u8>),
/// An ASCII string containing only A-Z, a-z, 0-9, '()+,-./:=? and <SPACE>
/// An ASCII string containing only A-Z, a-z, 0-9, '()+,-./:=? and `<SPACE>`
PrintableString(String),
/// A string encoded using UTF-32
UniversalString(Vec<u8>),
Expand Down

0 comments on commit 9714b8f

Please sign in to comment.