Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add instructions to create project as timer_future #136

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

mikemorris
Copy link
Contributor

@mikemorris mikemorris commented Aug 1, 2021

To avoid breaking implicit project naming assumptions when referencing timer_future::TimerFuture from main.rs in section 2.3

(I got tripped up by the use path because I had named my project timer instead and initially wasn't sure why a crate:: path wasn't working before finding the explanation in https://stackoverflow.com/questions/57756927/rust-modules-confusion-when-there-is-main-rs-and-lib-rs that main and lib are compiled as separate crates, and the package name is used to reference across them.)

To avoid breaking implicit project naming assumptions when referencing timer_future::TimerFuture from main.rs in next section.
@tmandry
Copy link
Member

tmandry commented Aug 25, 2021

Thanks!

@tmandry tmandry merged commit 0490ed1 into rust-lang:master Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants