Skip to content

Commit

Permalink
Fix cargo doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
anforowicz committed Aug 30, 2024
1 parent 83c89cd commit ac04cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/decoder/transform/palette.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!
//! To achieve higher throughput, `create_rgba_palette` combines entries from
//! `PLTE` and `trNS` chunks into a single lookup table. This is based on the
//! ideas explored in https://crbug.com/706134.
//! ideas explored in <https://crbug.com/706134>.
//!
//! Memoization is a trade-off:
//! * On one hand, memoization requires spending X ns before starting to call
Expand Down
2 changes: 1 addition & 1 deletion src/text_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub(crate) enum TextDecodingError {

/// A generalized text chunk trait
pub trait EncodableTextChunk {
/// Encode text chunk as Vec<u8> to a `Write`
/// Encode text chunk as `Vec<u8>` to a `Write`
fn encode<W: Write>(&self, w: &mut W) -> Result<(), EncodingError>;
}

Expand Down

0 comments on commit ac04cd3

Please sign in to comment.