From 7969e3a85dcb2d936fa2e09b4253b8e801c48c6e Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Fri, 18 Jun 2021 10:32:01 -0600 Subject: make gathered list names consistent --- tosin-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tosin-macros/src') diff --git a/tosin-macros/src/lib.rs b/tosin-macros/src/lib.rs index 408378f..531a92b 100644 --- a/tosin-macros/src/lib.rs +++ b/tosin-macros/src/lib.rs @@ -50,7 +50,7 @@ pub fn gather_migrations(_input: TokenStream) -> TokenStream { let gen = quote! { #( mod #migrations; )* - pub const migrations: &[Migration] = &[ + pub const ALL: &[Migration] = &[ #(#migrations::MIGRATION),* ]; }; -- cgit v1.2.3