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 24, 2023
1 parent aa1531c commit 64b8e60
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:
rustfmt:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,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 64b8e60

Please sign in to comment.