rtfm::app: update error message

This commit is contained in:
Jorge Aparicio 2019-04-22 22:01:20 +02:00
parent f30743f52a
commit 485601245b

View file

@ -119,7 +119,7 @@ pub fn app(app: &App) -> parse::Result<()> {
} else if app.init.returns_late_resources {
return Err(parse::Error::new(
Span::call_site(),
"`init` signature must be `[unsafe] fn()` if there are no late resources",
"`init` signature must be `fn(init::Context)` if there are no late resources",
));
}