mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-27 05:11:32 +00:00
Update without_id.rs
This commit is contained in:
parent
1b31835841
commit
19adb2fcc8
1 changed files with 2 additions and 3 deletions
|
@ -22,12 +22,11 @@ macro_rules! WithoutId {
|
|||
$(#[$_id_meta:meta])*
|
||||
$_id_vis:vis id: $id_type:ty,
|
||||
$(
|
||||
// TODO: more flexible attribute matching
|
||||
// TODO: more flexible and clean attribute matching
|
||||
$(#[doc = $_doc1:tt])*
|
||||
$(#[cfg($($cfgtt:tt)*)])*
|
||||
$(#[cfg_attr($($cfgattrtt:tt)*)])*
|
||||
$(#[cfg_attr($($cfgattrtt:tt)*)] $(#[doc = $_doc2:tt])*)*
|
||||
$(#[serde($($serdett:tt)*)])*
|
||||
$(#[doc = $_doc2:tt])*
|
||||
$field_vis:vis $field_name:ident : $field_type:ty,
|
||||
)*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue