diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-24 16:28:30 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-24 16:30:21 +0200 |
commit | ac99460ed65126d32160ac12641f211d9162db91 (patch) | |
tree | 76b588fb34240ca44960451f2f39015c904e4f4d | |
parent | fix(crates/yt/config): Avoid module name re-use in `watch` config (diff) | |
download | yt-ac99460ed65126d32160ac12641f211d9162db91.zip |
fix(crates/yt): Correct imports
-rw-r--r-- | crates/yt/src/videos/format_video.rs | 2 | ||||
-rw-r--r-- | crates/yt/src/videos/mod.rs | 2 | ||||
-rw-r--r-- | crates/yt/src/yt_dlp/mod.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/yt/src/videos/format_video.rs b/crates/yt/src/videos/format_video.rs index b457559..6598780 100644 --- a/crates/yt/src/videos/format_video.rs +++ b/crates/yt/src/videos/format_video.rs @@ -10,7 +10,7 @@ // If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. use anyhow::Result; -use colors::{Colorize, IntoCanvas}; +use colors::Colorize; use crate::{app::App, output::format_text, storage::db::video::Video, videos::RenderWithApp}; diff --git a/crates/yt/src/videos/mod.rs b/crates/yt/src/videos/mod.rs index f8eda88..c2f01fa 100644 --- a/crates/yt/src/videos/mod.rs +++ b/crates/yt/src/videos/mod.rs @@ -12,7 +12,7 @@ use std::fmt::Write; use anyhow::{Context, Result}; -use colors::{Canvas, Colorize, IntoCanvas}; +use colors::{Colorize, IntoCanvas}; use url::Url; use crate::{ diff --git a/crates/yt/src/yt_dlp/mod.rs b/crates/yt/src/yt_dlp/mod.rs index 307ecdc..0415247 100644 --- a/crates/yt/src/yt_dlp/mod.rs +++ b/crates/yt/src/yt_dlp/mod.rs @@ -1,4 +1,4 @@ -use std::{str::FromStr, time::Duration}; +use std::{borrow::ToOwned, str::FromStr, time::Duration}; use anyhow::{Context, Result}; use chrono::{DateTime, Utc}; |