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