Specify what has the arguments

This commit is contained in:
Gwilym Kuiper 2021-08-07 16:46:16 +01:00
parent 503b7262ca
commit bcfc8e506c

View file

@ -29,7 +29,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
"#[agb::entry] must have signature [unsafe] fn () -> !"
);
assert!(args.to_string() == "", "Must pass no args to entrypoint");
assert!(args.to_string() == "", "Must pass no args to #[agb::entry] macro");
let fn_name = random_ident();