Skip to content

Commit 3000ea1

Browse files
committed
clippy
1 parent f947dd5 commit 3000ea1

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

src-tauri/src/network/media_protocol.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ async fn ensure_cached(
222222
.await
223223
}
224224

225+
#[allow(clippy::too_many_arguments)]
225226
async fn ensure_cached_with_limits(
226227
state: &MediaSessionState,
227228
session: &MediaSession,
@@ -305,6 +306,7 @@ async fn ensure_cached_with_limits(
305306
}
306307
}
307308

309+
#[allow(clippy::too_many_arguments)]
308310
async fn fetch_and_cache(
309311
state: &MediaSessionState,
310312
session: &MediaSession,
@@ -409,6 +411,7 @@ async fn write_cache(
409411
.unwrap_or(false)
410412
}
411413

414+
#[allow(dead_code)]
412415
fn fits_in_cache(len: u64) -> bool {
413416
len <= MAX_CACHE_BYTES
414417
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22

3-
export type DesktopRuntimeState = { trayAvailable: boolean };
3+
export type DesktopRuntimeState = { trayAvailable: boolean, };
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22

3-
export type DesktopSettings = { closeToBackgroundOnClose: boolean; showSystemTrayIcon: boolean };
3+
export type DesktopSettings = { closeToBackgroundOnClose: boolean, showSystemTrayIcon: boolean, };

0 commit comments

Comments
 (0)