aboutsummaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src')
-rw-r--r--macros/src/check.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/check.rs b/macros/src/check.rs
index 6ba7d375..4471e96a 100644
--- a/macros/src/check.rs
+++ b/macros/src/check.rs
@@ -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",
));
}