mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
rtfm::app: update error message
This commit is contained in:
parent
f30743f52a
commit
485601245b
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue