chore: fix clippy lints

This commit is contained in:
ThetaDev 2024-01-18 13:23:56 +01:00
parent 11fe9a5fa1
commit 9ecf7eff74
No known key found for this signature in database
GPG key ID: 649CA4EBDC338394
4 changed files with 11 additions and 8 deletions

View file

@ -529,7 +529,7 @@ fn map_channel_content(
.content
.section_list_renderer
.as_ref()
.and_then(|c| c.contents.c.get(0))
.and_then(|c| c.contents.c.first())
{
return Err(ExtractionError::Unavailable {
reason: crate::error::UnavailabilityReason::AgeRestricted,