Skip to content

Commit

Permalink
Rename 'accessible' --> 'obj'
Browse files Browse the repository at this point in the history
We moved from naming objects in the servers' object-trees `Accessible`s to
`ObjectRef`s. Variable names should be renamed aswell such to aim for least
confusion.

In this conversion I opt for the short 'obj' as variable name, it is short and
clear.
  • Loading branch information
luukvanderduim committed May 15, 2024
1 parent 5c684a9 commit 02ceec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atspi-common/src/object_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl TryFrom<zvariant::OwnedValue> for ObjectRef {
}

impl From<ObjectRef> for zvariant::Structure<'_> {
fn from(accessible: ObjectRef) -> Self {
(accessible.name, accessible.path).into()
fn from(obj: ObjectRef) -> Self {
(obj.name, obj.path).into()
}
}

0 comments on commit 02ceec2

Please sign in to comment.