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