Skip to content

Commit

Permalink
Fixup new rustdoc warning
Browse files Browse the repository at this point in the history
As of rustc 1.66, rustdoc warns if you have anything that looks like an
HTML tag (e.g., a generic) that is not enclosed in backticks.
  • Loading branch information
cmyr committed Dec 15, 2022
1 parent 4ee01be commit ff45a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion font-types/src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub trait ReadScalar: FixedSize {
pub struct BigEndian<T: Scalar>(pub(crate) T::Raw);

impl<T: Scalar> BigEndian<T> {
/// construct a new BigEndian<T> from raw bytes
/// construct a new `BigEndian<T>` from raw bytes
pub fn new(raw: T::Raw) -> BigEndian<T> {
BigEndian(raw)
}
Expand Down

0 comments on commit ff45a72

Please # to comment.