Skip to content

Commit fb41db5

Browse files
committed
ci: deny warnings for rustdoc.
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.
1 parent 8d203bb commit fb41db5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
env:
1111
RUSTFLAGS: -D warnings
12+
RUSTDOCFLAGS: -D warnings
1213

1314
jobs:
1415
rustfmt:

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl DnType {
353353
pub enum DnValue {
354354
/// A string of characters from the T.61 character set
355355
TeletexString(Vec<u8>),
356-
/// An ASCII string containing only A-Z, a-z, 0-9, '()+,-./:=? and <SPACE>
356+
/// An ASCII string containing only A-Z, a-z, 0-9, '()+,-./:=? and `<SPACE>`
357357
PrintableString(String),
358358
/// A string encoded using UTF-32
359359
UniversalString(Vec<u8>),

0 commit comments

Comments
 (0)