Make clippy happy

This commit is contained in:
Armin Ronacher 2023-10-07 17:19:27 +02:00
parent e85ddb0d18
commit 86f68a6394
5 changed files with 22 additions and 22 deletions

View file

@ -317,10 +317,10 @@ where
///
/// `n` configures [`UnifiedDiff::context_radius`] and
/// `header` configures [`UnifiedDiff::header`] when not `None`.
pub fn unified_diff<'old, 'new>(
pub fn unified_diff(
alg: Algorithm,
old: &'old str,
new: &'new str,
old: &str,
new: &str,
n: usize,
header: Option<(&str, &str)>,
) -> String {