Skip to content

Commit 0642661

Browse files
committed
document-macro
1 parent a6e3576 commit 0642661

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/trait_.rs

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

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

0 commit comments

Comments
 (0)