Skip to content

Commit

Permalink
πŸ“ zb: hide ResultAdapter from the doc, it's internal helper API
Browse files Browse the repository at this point in the history
  • Loading branch information
elmarco committed Jul 30, 2023
1 parent 4bfe68c commit e63f9b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zbus/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub(crate) fn padding_for_n_bytes(value: usize, align: usize) -> usize {
/// type alias. This is currently required because the macros for properties expect a Result
/// return value, but the macro-generated `receive_` functions need to refer to the actual
/// type without the associated error.
#[doc(hidden)]
pub trait ResultAdapter {
type Ok;
type Err;
Expand Down

0 comments on commit e63f9b9

Please sign in to comment.