Skip to content

Commit

Permalink
Allow clippy::too_long_first_doc_paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwayne committed Oct 19, 2024
1 parent 5bcbc9c commit d31e280
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/auto_vary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ use crate::{HxRequest, HxTarget, HxTrigger, HxTriggerName};
const MIDDLEWARE_DOUBLE_USE: &str =
"Configuration error: `axum_httpx::vary_middleware` is used twice";

/// Automatically adds a `Vary` header when needed.
///
/// Addresses [htmx caching issues](https://htmx.org/docs/#caching)
/// by automatically adding a corresponding `Vary` header when
/// [`HxRequest`], [`HxTarget`], [`HxTrigger`], [`HxTriggerName`]
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![cfg_attr(feature = "unstable", feature(doc_cfg))]
#![doc = include_str!("../README.md")]
#![forbid(unsafe_code)]
#![allow(clippy::too_long_first_doc_paragraph)]

mod error;
pub use error::*;
Expand Down

0 comments on commit d31e280

Please sign in to comment.