Skip to content

Use Rust 2018 syntax? #41

Closed
Closed

Description

@thejpster

Should we be using Rust 2018 syntax in the book? The main change would be removing extern crate statements.

Activity

  1. hyperslv commented on Jun 12, 2020

    @hyperslv
    Contributor

    agree but the suggested change has to be synchronized with the appropriate change in source code of the examples at github.com/rust-embedded/cortex-m-quickstart .
    I will help & fix both if someone explains me how to synchronize these Repos

  2. therealprof commented on Jun 12, 2020

    @therealprof
    Contributor

    What do you mean by synchronize? Open PRs on both and then we'll merge them, couldn't be easier. 😅

  3. hyperslv commented on Jun 13, 2020

    @hyperslv
    Contributor

    Created a PR on this issue

  4. added a commit that references this issue on Jun 14, 2020
  5. hyperslv commented on Jun 15, 2020

    @hyperslv
    Contributor

    This issue might be closed since the appropriate PR was merged.

  6. Narukara commented on Jan 17, 2023

    @Narukara
    Contributor

    There are still some extern crate statements in the book. For example:

    extern crate cortex_m;

    extern crate alloc;

    Shall we fix them all?

  7. eldruin commented on Jan 17, 2023

    @eldruin
    Member

    @Narukara I would welcome a PR fixing them all. We could then close this issue.

  8. added a commit that references this issue on Jan 18, 2023
  9. added a commit that references this issue on Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions