mirror of
https://github.com/alacritty/alacritty
synced 2024-10-02 22:14:28 +00:00
Fix inconsistent_struct_constructor clippy lint
This commit is contained in:
parent
d5dd009a6d
commit
5aa02816c4
|
@ -8,8 +8,8 @@ const INACTIVE_OPACITY: u8 = 127;
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct AlacrittyWaylandTheme {
|
||||
pub background: ARGBColor,
|
||||
pub foreground: ARGBColor,
|
||||
pub background: ARGBColor,
|
||||
pub dim_foreground: ARGBColor,
|
||||
pub hovered_close_icon: ARGBColor,
|
||||
pub hovered_maximize_icon: ARGBColor,
|
||||
|
@ -32,8 +32,8 @@ impl AlacrittyWaylandTheme {
|
|||
background,
|
||||
dim_foreground,
|
||||
hovered_close_icon,
|
||||
hovered_minimize_icon,
|
||||
hovered_maximize_icon,
|
||||
hovered_minimize_icon,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue