Skip to content

Commit 5bf2cc0

Browse files
committed
document-macro
1 parent d9e45f0 commit 5bf2cc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/trait_.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub enum Trait {
7171
ZeroizeOnDrop,
7272
}
7373

74+
/// Call a function on the corresponding trait struct matching the trait enum variant.
7475
macro_rules! trait_dispatch {
7576
($self:expr, $method:ident($($par:expr),*)) => {
7677
match $self {

0 commit comments

Comments
 (0)