Skip to content

Commit

Permalink
fix doc exmaple typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pana committed Oct 28, 2024
1 parent 5766a98 commit a174b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proc-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub(crate) mod visitor;
/// #[method(name = "bar")]
/// fn sync_method(&self) -> String;
///
/// #[subscription(name = "subscribe", item = "String")]
/// #[subscription(name = "subscribe", item = String)]
/// async fn sub(&self) -> SubscriptionResult;
/// }
/// ```
Expand Down

0 comments on commit a174b47

Please sign in to comment.