about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 14:01:48 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 14:01:48 +0200
commit4c8a71e3fc2e0d9c30e47241d3740c49c834d3fa (patch)
tree8a4f086cdd222345b31fda130c12537615c29121 /src
parentfix(cli): Always log with a verbosity of at least WARN (diff)
downloadyt-4c8a71e3fc2e0d9c30e47241d3740c49c834d3fa.tar.gz
yt-4c8a71e3fc2e0d9c30e47241d3740c49c834d3fa.zip
style(treewide): Format
Diffstat (limited to '')
-rw-r--r--src/config/file_system.rs2
-rw-r--r--src/storage/video_database/setters.rs5
-rw-r--r--src/update/mod.rs2
3 files changed, 3 insertions, 6 deletions
diff --git a/src/config/file_system.rs b/src/config/file_system.rs
index 8528130..b89c1fe 100644
--- a/src/config/file_system.rs
+++ b/src/config/file_system.rs
@@ -18,8 +18,8 @@ use super::{
 use std::{fs::read_to_string, path::PathBuf};
 
 use anyhow::{Context, Result};
-use toml::Table;
 use bytes::Bytes;
+use toml::Table;
 
 macro_rules! get {
     ($default:path, $config:expr, $get_fn:ident, $key_one:expr, $($keys:expr),*) => {
diff --git a/src/storage/video_database/setters.rs b/src/storage/video_database/setters.rs
index 76a36a7..fcafcd4 100644
--- a/src/storage/video_database/setters.rs
+++ b/src/storage/video_database/setters.rs
@@ -16,10 +16,7 @@ use log::debug;
 use sqlx::query;
 use tokio::fs;
 
-use crate::{
-    app::App,
-    storage::video_database::extractor_hash::ExtractorHash,
-};
+use crate::{app::App, storage::video_database::extractor_hash::ExtractorHash};
 
 use super::{Video, VideoOptions, VideoStatus};
 
diff --git a/src/update/mod.rs b/src/update/mod.rs
index c913195..0e47321 100644
--- a/src/update/mod.rs
+++ b/src/update/mod.rs
@@ -12,7 +12,7 @@ use std::{collections::HashMap, process::Stdio, str::FromStr};
 
 use anyhow::{Context, Ok, Result};
 use chrono::{DateTime, Utc};
-use log::{debug, error, info, warn};
+use log::{error, info, warn};
 use tokio::{
     io::{AsyncBufReadExt, BufReader},
     process::Command,