chore: fix clippy lints
This commit is contained in:
parent
11fe9a5fa1
commit
9ecf7eff74
4 changed files with 11 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Reference in a new issue