diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-30 15:28:05 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-30 15:28:05 +0100 |
| commit | 8158bcf6da8163fd35f26b59a08fc7f5a9abce11 (patch) | |
| tree | 2fa97f7ab34d187606ae0ceb1061979a610d44b3 /crates/yt_dlp/src/info_json.rs | |
| parent | build(treewide): Update (diff) | |
| download | yt-8158bcf6da8163fd35f26b59a08fc7f5a9abce11.zip | |
fix(treewide): Avoid using deprecated functions or patterns
Diffstat (limited to '')
| -rw-r--r-- | crates/yt_dlp/src/info_json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/yt_dlp/src/info_json.rs b/crates/yt_dlp/src/info_json.rs index 3ed08ee..402acb4 100644 --- a/crates/yt_dlp/src/info_json.rs +++ b/crates/yt_dlp/src/info_json.rs @@ -29,7 +29,7 @@ pub fn json_loads( .call((self_str,), None) .expect("Vaild json is always a valid dict"); - dict.downcast_into().expect("Should always be a dict") + dict.cast_into().expect("Should always be a dict") } /// # Panics |
