Skip to content

Commit

Permalink
Fix clippy::doc_markdown lints
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Oct 7, 2024
1 parent 8db7c9a commit d43f2a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Don't warn about these identifiers when using clippy::doc_markdown.
doc-valid-idents = ["ClearType", "HarfBuzz", "OpenType", "PostScript", ".."]
2 changes: 1 addition & 1 deletion src/internal/aat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub const KERX: RawTag = raw_tag(b"kerx");
pub const ANKR: RawTag = raw_tag(b"ankr");
pub const KERN: RawTag = raw_tag(b"kern");

/// Maximum number of times we allow consecutive DONT_ADVANCE states.
/// Maximum number of times we allow consecutive `DONT_ADVANCE` states.
const MAX_CYCLES: u16 = 16;

/// Gets a value from a lookup table.
Expand Down
2 changes: 1 addition & 1 deletion src/internal/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl<'a> Stream<'a> {
}

/// An array wrapping a byte buffer over a sequence of values that implement
/// FromBeData.
/// [`FromBeData`].
#[derive(Copy, Clone)]
pub struct Array<'a, T: FromBeData> {
data: &'a [u8],
Expand Down

0 comments on commit d43f2a9

Please sign in to comment.