aboutsummaryrefslogtreecommitdiffstats
path: root/crates
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-07 15:12:15 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-07 15:12:15 +0100
commitd881aeb989c6f755226f2a41287b605ec44fcd34 (patch)
tree62ba05bd4f04e34118ed3c92a9dafed1a41e0148 /crates
parentfix(yt/cmds/select/add): Filter out member-only videos (diff)
downloadyt-d881aeb989c6f755226f2a41287b605ec44fcd34.zip
chore(yt/): Fix typos and remove useless references
Diffstat (limited to 'crates')
-rw-r--r--crates/yt/src/commands/subscriptions/implm.rs4
-rw-r--r--crates/yt/src/storage/db/extractor_hash.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/yt/src/commands/subscriptions/implm.rs b/crates/yt/src/commands/subscriptions/implm.rs
index a4d9d6d..5a02968 100644
--- a/crates/yt/src/commands/subscriptions/implm.rs
+++ b/crates/yt/src/commands/subscriptions/implm.rs
@@ -49,7 +49,7 @@ impl SubscriptionCommand {
if let Some(subscription) = present_subscriptions.0.remove(&name) {
subscription.remove(&mut ops);
} else {
- bail!("Couldn't find subscription: '{}'", &name);
+ bail!("Couldn't find subscription: '{}'", name);
}
ops.commit(app)
.await
@@ -68,7 +68,7 @@ impl SubscriptionCommand {
if let Some(subscription) = present_subscriptions.0.remove(&name) {
subscription.set_is_active(new_status, &mut ops);
} else {
- bail!("Couldn't find subscription: '{}'", &name);
+ bail!("Couldn't find subscription: '{}'", name);
}
ops.commit(app)
diff --git a/crates/yt/src/storage/db/extractor_hash.rs b/crates/yt/src/storage/db/extractor_hash.rs
index 3ad8273..2e3c146 100644
--- a/crates/yt/src/storage/db/extractor_hash.rs
+++ b/crates/yt/src/storage/db/extractor_hash.rs
@@ -114,7 +114,7 @@ impl ExtractorHash {
// not exist currently, without processing each entry (which is expensive and which I would
// like to avoid).
//
- // Therefor, we simply special case the `ARDBetaMediathek` extractor. <2025-07-04>
+ // Therefore, we simply special case the `ARDBetaMediathek` extractor. <2025-07-04>
// NOTE(@bpeetz): `yt-dlp` apparently uses these two different names for the same thing <2025-07-04>
let ie_key = {