Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TTWNO committed Apr 26, 2024
1 parent bcc54e1 commit 6592710
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cache/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,7 @@ impl CacheItem {
app: atspi_cache_item.app.into(),
parent: CacheRef::new(atspi_cache_item.parent.into()),
index: atspi_cache_item.index.try_into().ok(),
children_num: atspi_cache_item
.children
.try_into()
.ok(),
children_num: atspi_cache_item.children.try_into().ok(),
interfaces: atspi_cache_item.ifaces,
role: atspi_cache_item.role,
states: atspi_cache_item.states,
Expand Down Expand Up @@ -980,9 +977,7 @@ pub async fn accessible_to_cache_item(
app: app.into(),
parent: CacheRef::new(parent.into()),
index: index.try_into().ok(),
children_num: children_num
.try_into()
.ok(),
children_num: children_num.try_into().ok(),
interfaces,
role,
states,
Expand Down

0 comments on commit 6592710

Please sign in to comment.