fix: clippy warnings
This commit is contained in:
parent
63d2a0fb36
commit
05f609e247
11 changed files with 97 additions and 118 deletions
|
|
@ -223,11 +223,7 @@ impl<'de> DeserializeAs<'de, Vec<TextLink>> for TextLinks {
|
|||
D: Deserializer<'de>,
|
||||
{
|
||||
let link = TextLinkInternal::deserialize(deserializer)?;
|
||||
Ok(link
|
||||
.runs
|
||||
.iter()
|
||||
.filter_map(|r| map_text_linkrun(r))
|
||||
.collect())
|
||||
Ok(link.runs.iter().filter_map(map_text_linkrun).collect())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue