Skip to content

Commit

Permalink
Fix doc issue
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
TTWNO committed May 23, 2024
1 parent c21b47b commit 6833743
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions atspi-common/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ macro_rules! impl_from_user_facing_event_for_interface_event_enum {

/// Expands to a conversion given two arguments,
/// 1. the user facing event type `(inner_type)`
/// which relies on a conversion to its interface variant enum type variant.
/// which relies on a conversion to its interface variant enum type variant.
/// 2. the outer `Event::<Interface(<InterfaceEnum>)>` wrapper.,
/// the enum type and outtermost variant.
/// the enum type and outtermost variant.
///
/// ```ignore user facing type, outer event variant
/// impl_from_user_facing_type_for_event_enum!(StateChangedEvent, Event::Object);
Expand Down Expand Up @@ -238,6 +238,7 @@ macro_rules! impl_to_dbus_message {
/// fn try_from(msg: &zbus::Message) -> Result<Self, Self::Error> {
/// if msg.header().interface().ok_or(AtspiError::MissingInterface)? != StateChangedEvent::DBUS_INTERFACE {
/// StateChangedEvent::try_from_message(msg)
/// }
/// }
/// }
/// ```
Expand Down

0 comments on commit 6833743

Please sign in to comment.