From 4a81e573c29369b931d82ac97bc9a40ee84dfce1 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 3 Oct 2021 08:53:23 +0200 Subject: [PATCH] Fixed a clippy lint --- src/text/inline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/inline.rs b/src/text/inline.rs index a6079c2..79d6c82 100644 --- a/src/text/inline.rs +++ b/src/text/inline.rs @@ -81,7 +81,7 @@ impl<'bufs, 's, T: DiffableStr + ?Sized> Index for MultiLookup<'bufs, 's, type Output = T; fn index(&self, index: usize) -> &Self::Output { - &self.seqs[index].0 + self.seqs[index].0 } }