Skip to content

Conversation

nathan-barry
Copy link
Contributor

NEAR doesn't use main.rs. In the tutorial it tells us to do a normal cargo new and to delete the main.rs file and add a lib.rs file. Cargo new has an option to make it create a library right off the bat. I think it would be less confusing for people to not have to delete and remake a new file right off the bat.

NEAR doesn't use main.rs. In the tutorial it tells us to do a normal `cargo new` and  to delete the main.rs file and add a lib.rs file. `Cargo new` has an option to make it create a library right off the bat. I think it would be less confusing for people to not have to delete and remake a new file right off the bat.
@nathan-barry nathan-barry requested a review from bucanero as a code owner May 13, 2022 12:19
Copy link
Collaborator

@bucanero bucanero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, @0xnathanbarry ! a nice improvement to the tutorial's flow 👍

@bucanero bucanero merged commit a49d0dc into near:master May 13, 2022
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