diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/yt/src/commands/subscriptions/implm.rs | 4 | ||||
| -rw-r--r-- | crates/yt/src/storage/db/extractor_hash.rs | 2 |
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 = { |
