Skip to content

Commit 82ce8e9

Browse files
committed
cargo clippy
1 parent e72f371 commit 82ce8e9

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/ui/image_backends/iterm.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ impl ITermBackend {
1717
}
1818
}
1919

20+
impl Default for ITermBackend {
21+
fn default() -> Self {
22+
Self::new()
23+
}
24+
}
25+
2026
impl super::ImageBackend for ITermBackend {
2127
fn add_image(
2228
&self,

src/ui/image_backends/kitty.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ impl KittyBackend {
7777
}
7878
}
7979

80+
impl Default for KittyBackend {
81+
fn default() -> Self {
82+
Self::new()
83+
}
84+
}
85+
8086
impl super::ImageBackend for KittyBackend {
8187
fn add_image(
8288
&self,

src/ui/image_backends/sixel.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ impl SixelBackend {
7171
}
7272
}
7373

74+
impl Default for SixelBackend {
75+
fn default() -> Self {
76+
Self::new()
77+
}
78+
}
79+
7480
impl super::ImageBackend for SixelBackend {
7581
#[allow(clippy::map_entry)]
7682
fn add_image(&self, lines: Vec<String>, image: &DynamicImage, colors: usize) -> Result<String> {

0 commit comments

Comments
 (0)