diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-03-12 20:40:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 19:40:18 +0000 |
commit | 5aa02816c47e4b50fc51bcb830c5864f681b3913 (patch) | |
tree | be6b9da134cab5674dbdc6b89d154b3f703325dc /alacritty/src/url.rs | |
parent | d5dd009a6d313626aec6f69db397e78734653a5f (diff) | |
download | r-alacritty-5aa02816c47e4b50fc51bcb830c5864f681b3913.tar.gz r-alacritty-5aa02816c47e4b50fc51bcb830c5864f681b3913.tar.bz2 r-alacritty-5aa02816c47e4b50fc51bcb830c5864f681b3913.zip |
Fix inconsistent_struct_constructor clippy lint
Diffstat (limited to 'alacritty/src/url.rs')
-rw-r--r-- | alacritty/src/url.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/url.rs b/alacritty/src/url.rs index d86b514a..e4a29512 100644 --- a/alacritty/src/url.rs +++ b/alacritty/src/url.rs @@ -138,7 +138,7 @@ impl Urls { if url.lines.last().map(|last| last.color) == Some(color) { url.lines.last_mut().unwrap().end = end; } else { - url.lines.push(RenderLine { color, start, end }); + url.lines.push(RenderLine { start, end, color }); } // Update excluded cells at the end of the URL. |