Skip to content

Commit 0449435

Browse files
bors[bot]AfoHT
andauthored
Merge #83
83: rtic-syntax: v1.0.3 prep r=perlindgren a=AfoHT Co-authored-by: Henrik Tjäder <[email protected]>
2 parents 01e0ac3 + e8330fb commit 0449435

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111

12+
### Fixed
13+
14+
## [v1.0.3] - 2023-02-26
15+
16+
### Added
17+
18+
### Changed
19+
1220
- CI: Updated to checkout@v3
1321
- CI: Use native Rustup
1422

@@ -144,7 +152,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
144152

145153
- Initial release
146154

147-
[Unreleased]: https://github.com/rtic-rs/rtic-syntax/compare/v1.0.2...HEAD
155+
[Unreleased]: https://github.com/rtic-rs/rtic-syntax/compare/v1.0.3...HEAD
156+
[v1.0.3]: https://github.com/rtic-rs/rtic-syntax/compare/v1.0.2...v1.0.3
148157
[v1.0.2]: https://github.com/rtic-rs/rtic-syntax/compare/v1.0.1...v1.0.2
149158
[v1.0.1]: https://github.com/rtic-rs/rtic-syntax/compare/v1.0.0...v1.0.1
150159
[v1.0.0]: https://github.com/rtic-rs/rtic-syntax/compare/v0.4.0...v1.0.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = []
1111
license = "MIT OR Apache-2.0"
1212
name = "rtic-syntax"
1313
repository = "https://github.com/rtic-rs/rtic-syntax"
14-
version = "1.0.2"
14+
version = "1.0.3"
1515

1616
[dependencies]
1717
indexmap = "1.0.2"

src/parse/hardware_task.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl HardwareTask {
4141

4242
Err(parse::Error::new(
4343
span,
44-
&format!(
44+
format!(
4545
"this task handler must have type signature `fn({}::Context)`",
4646
name
4747
),
@@ -87,7 +87,7 @@ impl HardwareTask {
8787

8888
Err(parse::Error::new(
8989
span,
90-
&format!(
90+
format!(
9191
"this task handler must have type signature `fn({}::Context)`",
9292
name
9393
),

src/parse/idle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl Idle {
3636

3737
Err(parse::Error::new(
3838
item.sig.ident.span(),
39-
&format!(
39+
format!(
4040
"this `#[idle]` function must have signature `fn({}::Context) -> !`",
4141
name
4242
),

src/parse/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl Init {
4343

4444
Err(parse::Error::new(
4545
span,
46-
&format!(
46+
format!(
4747
"the `#[init]` function must have signature `fn({}::Context) -> (Shared resources struct, Local resources struct, {0}::Monotonics)`",
4848
name
4949
),

src/parse/software_task.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl SoftwareTask {
3333

3434
Err(parse::Error::new(
3535
span,
36-
&format!(
36+
format!(
3737
"this task handler must have type signature `fn({}::Context, ..)`",
3838
name
3939
),
@@ -71,7 +71,7 @@ impl SoftwareTask {
7171

7272
Err(parse::Error::new(
7373
span,
74-
&format!(
74+
format!(
7575
"this task handler must have type signature `fn({}::Context, ..)`",
7676
name
7777
),

0 commit comments

Comments
 (0)