Skip to content

Commit c295066

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 f5f1178 commit c295066

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
clippy:

src/lib.rs

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

0 commit comments

Comments
 (0)