Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-tui/src/text.rs')
| -rw-r--r-- | helix-tui/src/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-tui/src/text.rs b/helix-tui/src/text.rs index a5e8a68a..c4313e15 100644 --- a/helix-tui/src/text.rs +++ b/helix-tui/src/text.rs @@ -212,7 +212,7 @@ impl<'a> From<Cow<'a, str>> for Span<'a> { #[derive(Debug, Default, Clone, PartialEq, Eq)] pub struct Spans<'a>(pub Vec<Span<'a>>); -impl<'a> Spans<'a> { +impl Spans<'_> { /// Returns the width of the underlying string. /// /// ## Examples |