From 6f61f9c52a6352af4be2cc067f30d01f66a216f8 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 9 Jun 2026 19:11:11 +0200 Subject: chore(yt/*): Remove trivial warnings --- crates/yt/src/commands/status/implm.rs | 2 +- crates/yt_dlp/src/post_processors/dearrow.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/yt/src/commands/status/implm.rs b/crates/yt/src/commands/status/implm.rs index 5832fde..2177012 100644 --- a/crates/yt/src/commands/status/implm.rs +++ b/crates/yt/src/commands/status/implm.rs @@ -130,7 +130,7 @@ impl StatusCommand { "{dropped_videos_len}", dropped_videos_len.to_string().as_str(), ) - .replace("{watchtime_status}", watchtime_status.to_string().as_str()) + .replace("{watchtime_status}", watchtime_status.as_str()) .replace( "{subscriptions_len}", subscriptions_len.to_string().as_str(), diff --git a/crates/yt_dlp/src/post_processors/dearrow.rs b/crates/yt_dlp/src/post_processors/dearrow.rs index 7787d68..ff4cdfa 100644 --- a/crates/yt_dlp/src/post_processors/dearrow.rs +++ b/crates/yt_dlp/src/post_processors/dearrow.rs @@ -9,7 +9,7 @@ // If not, see . use curl::easy::Easy; -use log::{error, info, trace, warn}; +use log::{info, trace, warn}; use pyo3::{ Bound, PyAny, PyErr, PyResult, Python, exceptions, intern, pyfunction, types::{PyAnyMethods, PyDict, PyModule}, -- cgit v1.3.1