Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7470159c authored by Jeremy Wu's avatar Jeremy Wu
Browse files

Floss: fix misleading comment in |impl_dbus_arg_enum|

The macro converts enum to D-Bus UINT32 instead of INT32 as it claims.

Bug: 255707592
Tag: #floss
Test: atest net_test_stack_a2dp_native

Change-Id: I4c7b55b905558125e68243e65f76fe2af08027f9
parent deda5454
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -243,7 +243,7 @@ impl ClientDBusProxy {

/// Implements `DBusArg` for an enum.
///
/// A Rust enum is converted to D-Bus INT32 type.
/// A Rust enum is converted to D-Bus UINT32 type.
#[macro_export]
macro_rules! impl_dbus_arg_enum {
    ($enum_type:ty) => {