mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-14 00:37:07 +00:00
dont try to compile macro comments
This commit is contained in:
parent
dc5ceb4cc3
commit
48ed04efcb
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ use syn::{parse_macro_input, Data, DeriveInput};
|
|||
/// all enum variants).
|
||||
///
|
||||
/// Based on this code:
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// #[derive(serde::Deserialize, serde::Serialize, ActivityHandler)]
|
||||
/// #[serde(untagged)]
|
||||
/// pub enum PersonInboxActivities {
|
||||
|
@ -14,7 +14,7 @@ use syn::{parse_macro_input, Data, DeriveInput};
|
|||
/// UpdateNote(UpdateNote),
|
||||
/// ```
|
||||
/// It will generate this:
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// impl ActivityHandler for PersonInboxActivities {
|
||||
///
|
||||
/// async fn verify(
|
||||
|
|
Loading…
Reference in a new issue