Fix attribute filtering in WithoutId macro

pull/3755/head
dullbananas 10 months ago committed by GitHub
parent 237b8d6f54
commit acaa4902b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save