Skip to content

Commit b6e651c

Browse files
Avoid doc-markdown lints. (#241)
* Add some valid words that aren't identifiers to clippy.toml to avoid warnings about the use of these terms not being within backticks. * Enable the warning for `clippy::doc_markdown` so that it gets maintained cleanly going forward.
1 parent 2af84c8 commit b6e651c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

clippy.toml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
doc-valid-idents = ["CoreText", "DirectWrite", "FreeType", "HarfBuzz", "OpenType", ".."]

harfbuzz-sys/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
//! - `bundled` - Use the bundled copy of the harfbuzz library rather than one installed on the system.
2222
2323
#![no_std]
24+
#![warn(clippy::doc_markdown)]
2425

2526
#[cfg(all(target_vendor = "apple", feature = "coretext"))]
2627
pub mod coretext;

harfbuzz/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//! - `bundled` - Use the bundled copy of the harfbuzz library rather than one installed on the system.
2121
2222
#![no_std]
23-
#![warn(missing_docs)]
23+
#![warn(clippy::doc_markdown, missing_docs)]
2424
#![deny(
2525
trivial_numeric_casts,
2626
unstable_features,

0 commit comments

Comments
 (0)