Skip to content

Commit

Permalink
πŸ“ zm: Autogenerate docs for proxy struct generated by interface macro
Browse files Browse the repository at this point in the history
  • Loading branch information
zeenix committed Jun 13, 2024
1 parent 14aba57 commit b50e7a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zbus_macros/src/iface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,9 @@ impl Proxy {
);
let iface_name = &self.iface_name;
let zbus = &self.zbus;
let proxy_doc = format!("Proxy for the `{iface_name}` interface.");
quote! {
#[doc = #proxy_doc]
#[#zbus::proxy(
name = #iface_name,
#assume_defaults
Expand Down

0 comments on commit b50e7a4

Please sign in to comment.