Skip to content

Commit

Permalink
Merge pull request #7 from waywardmonkeys/fix-doc_markdown-lints
Browse files Browse the repository at this point in the history
Fix `clippy::doc_markdown` lints
  • Loading branch information
dfrg authored Jan 2, 2025
2 parents ac15d44 + cdbdeed commit de41b9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ pub struct Encoder(DeflateContext);
impl Encoder {
/// Creates a new deflate encoder. Note that creating an encoder with this
/// method allocates a large (200-300k) chunk of data on the stack and is
/// likely to cause an overflow if not carefully managed. See the boxed()
/// likely to cause an overflow if not carefully managed. See the [`boxed()`]
/// constructor for a safer method that allocates on the heap.
///
/// [`boxed()`]: Self::boxed
pub fn new() -> Self {
let flags = make_flags(
false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@
//!
//! # Implementation Notes
//!
//! The compressor is based heavily on both miniz (<https://github.com/richgel999/miniz>)
//! by Rich Geldreich and miniz_oxide (<https://github.com/Frommi/miniz_oxide>)
//! The compressor is based heavily on both [miniz](https://github.com/richgel999/miniz)
//! by Rich Geldreich and [miniz_oxide](https://github.com/Frommi/miniz_oxide)
//! by Frommi. The available compression levels and strategies are the same and
//! it should produce an identical bitstream for a given set of options. The
//! decompressor is based on the techniques in libdeflate (<https://github.com/ebiggers/libdeflate>)
//! decompressor is based on the techniques in [libdeflate](https://github.com/ebiggers/libdeflate)
//! by Eric Biggers.
#![cfg_attr(not(feature = "std"), no_std)]
Expand Down

0 comments on commit de41b9b

Please sign in to comment.