aboutsummaryrefslogtreecommitdiff
path: root/macros/src/check.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-12-15 21:10:44 +0000
committerGitHub <noreply@github.com>2022-12-15 21:10:44 +0000
commit6c1743b5532a19b0e46a5ea919cd087a33669773 (patch)
tree554eb5b0ba1f05ba558f1ddda1b8e6805f3e9956 /macros/src/check.rs
parenta79cc083803d126d90d1bb28af61dc6b168a0d41 (diff)
parent10d2a5935684fdf32f06b1cc38481314fce5654e (diff)
Merge #668
668: Docs on RTOS r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'macros/src/check.rs')
-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 374fced..b0ad6f8 100644
--- a/macros/src/check.rs
+++ b/macros/src/check.rs
@@ -53,7 +53,7 @@ pub fn app(app: &App, _analysis: &Analysis) -> parse::Result<Extra> {
// If not enough tasks and first still is None, may cause
// "custom attribute panicked" due to unwrap on None
- return Err(parse::Error::new(first.unwrap().span(), &s));
+ return Err(parse::Error::new(first.unwrap().span(), s));
}
// Check that all exceptions are valid; only exceptions with configurable priorities are