diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-07 04:38:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-07 04:38:51 +0000 |
| commit | 593dbeb9bf8b9e242793b6739d4076f20ee6cc6b (patch) | |
| tree | fd23ecfb49b37a7ab3134bafdc2b4bfe8ba97a65 /book/en/src/migration/migration_v5.md | |
| parent | b1e1abae29591e50ebf345a2bd249a73e564cea9 (diff) | |
| parent | 987332b831761a681ec5cdda192ead524438df77 (diff) | |
Merge #385
385: Doclints r=korken89 a=dcarosone
Some minor doc lints and wording cleanup
Co-authored-by: Daniel Carosone <Daniel.Carosone@gmail.com>
Diffstat (limited to 'book/en/src/migration/migration_v5.md')
| -rw-r--r-- | book/en/src/migration/migration_v5.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/book/en/src/migration/migration_v5.md b/book/en/src/migration/migration_v5.md index 749ddec..1d83444 100644 --- a/book/en/src/migration/migration_v5.md +++ b/book/en/src/migration/migration_v5.md @@ -2,11 +2,11 @@ This section describes how to upgrade from v0.5.x to v0.6.0 of the RTIC framework. -### `Cargo.toml` - version bump +## `Cargo.toml` - version bump Change the version of `cortex-m-rtic` to `"0.6.0"`. -### Module instead of Const +## Module instead of Const With the support of attributes on modules the `const APP` workaround is not needed. @@ -32,7 +32,7 @@ Now that a regular Rust module is used it means it is possible to have custom user code within that module. Additionally, it means that `use`-statements for resources etc may be required. -### Init always returns late resources +## Init always returns late resources In order to make the API more symmetric the #[init]-task always returns a late resource. @@ -64,7 +64,7 @@ mod app { } ``` -### Resources struct - #[resources] +## Resources struct - #[resources] Previously the RTIC resources had to be in in a struct named exactly "Resources": |
