cargo fmt

This commit is contained in:
Ashley Wulber 2025-02-28 12:42:59 -05:00
parent 9d68241c6d
commit 51f67e31be
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
17 changed files with 27 additions and 73 deletions

View file

@ -593,12 +593,7 @@ impl<'a, Message: 'a + Clone> Widget<Message, crate::Theme, crate::Renderer>
}
match self.description.as_ref() {
Some(iced_accessibility::Description::Id(id)) => {
node.set_described_by(
id.iter()
.cloned()
.map(NodeId::from)
.collect::<Vec<_>>(),
);
node.set_described_by(id.iter().cloned().map(NodeId::from).collect::<Vec<_>>());
}
Some(iced_accessibility::Description::Text(text)) => {
node.set_description(text.clone());