aboutsummaryrefslogtreecommitdiff
path: root/stream/src/jhls.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-10 15:28:36 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-10 15:28:36 +0200
commit05d11426a8e60fa060733eb8ae7843bc2ae9725c (patch)
tree57cfad9cedf1eb50de193f1657b42234745c044e /stream/src/jhls.rs
parentc0365c8c64f403fd9ee75c0db1a9ed6134633e8f (diff)
downloadjellything-05d11426a8e60fa060733eb8ae7843bc2ae9725c.tar
jellything-05d11426a8e60fa060733eb8ae7843bc2ae9725c.tar.bz2
jellything-05d11426a8e60fa060733eb8ae7843bc2ae9725c.tar.zst
apply many clippy issue
Diffstat (limited to 'stream/src/jhls.rs')
-rw-r--r--stream/src/jhls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/src/jhls.rs b/stream/src/jhls.rs
index ac1a3e5..2e45378 100644
--- a/stream/src/jhls.rs
+++ b/stream/src/jhls.rs
@@ -21,7 +21,7 @@ pub async fn jhls_index(
perms: &PermissionSet,
) -> Result<()> {
let local_track = local_tracks
- .get(0)
+ .first()
.ok_or(anyhow!("track missing"))?
.to_owned();