diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-05 17:31:11 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-05 17:40:16 +0400 |
| commit | 3dc4a5fdac0d1802372b9c90e374eb77c13de10c (patch) | |
| tree | c2e95222b73cc57f29725d4cb7b0550a20932716 /src/config_error_notification.rs | |
| parent | 1706a46b2b89178e98d74eea55965b60f70b62cb (diff) | |
| download | niri-3dc4a5fdac0d1802372b9c90e374eb77c13de10c.tar.gz niri-3dc4a5fdac0d1802372b9c90e374eb77c13de10c.tar.bz2 niri-3dc4a5fdac0d1802372b9c90e374eb77c13de10c.zip | |
Fix Clippy warnings
Diffstat (limited to 'src/config_error_notification.rs')
| -rw-r--r-- | src/config_error_notification.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config_error_notification.rs b/src/config_error_notification.rs index 773f3a13..c4f314ca 100644 --- a/src/config_error_notification.rs +++ b/src/config_error_notification.rs @@ -167,6 +167,12 @@ impl ConfigErrorNotification { } } +impl Default for ConfigErrorNotification { + fn default() -> Self { + Self::new() + } +} + fn render(scale: i32, created_path: Option<&Path>) -> anyhow::Result<MemoryRenderBuffer> { let _span = tracy_client::span!("config_error_notification::render"); |
