mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-29 00:42:19 +00:00
Fix attribute filtering in WithoutId macro
This commit is contained in:
parent
237b8d6f54
commit
acaa4902b0
|
@ -53,7 +53,7 @@ macro_rules! WithoutId {
|
|||
// Keep on removing the first attribute until `diesel(table_name = ...)` becomes
|
||||
// the first, which will cause the first pattern to be matched.
|
||||
(#[$_meta:meta] $($remaining:tt)*) => {
|
||||
$($remaining)*
|
||||
WithoutId!($($remaining)*);
|
||||
};
|
||||
|
||||
// This pattern is matched when there's no attributes.
|
||||
|
|
Loading…
Reference in a new issue