Skip to content

Commit d31e280

Browse files
committed
Allow clippy::too_long_first_doc_paragraph
1 parent 5bcbc9c commit d31e280

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/auto_vary.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ use crate::{HxRequest, HxTarget, HxTrigger, HxTriggerName};
2828
const MIDDLEWARE_DOUBLE_USE: &str =
2929
"Configuration error: `axum_httpx::vary_middleware` is used twice";
3030

31-
/// Automatically adds a `Vary` header when needed.
32-
///
3331
/// Addresses [htmx caching issues](https://htmx.org/docs/#caching)
3432
/// by automatically adding a corresponding `Vary` header when
3533
/// [`HxRequest`], [`HxTarget`], [`HxTrigger`], [`HxTriggerName`]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![cfg_attr(feature = "unstable", feature(doc_cfg))]
22
#![doc = include_str!("../README.md")]
33
#![forbid(unsafe_code)]
4+
#![allow(clippy::too_long_first_doc_paragraph)]
45

56
mod error;
67
pub use error::*;

0 commit comments

Comments
 (0)