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

Added Explanations #15

Closed

Conversation

TrifanBogdan24
Copy link

Here are some changes I made and my approach of Tour of Rust:

  • a few words about what is Rust and its unique aspects
  • working in terminal with Rust (compiling, running and cargo commands)
  • macros
  • detailed information about data types and collections
  • self and Self in terms of implementing a static / non-static method for a struct
  • how to work with cargo

@TrifanBogdan24 TrifanBogdan24 marked this pull request as ready for review December 25, 2023 23:50
Copy link

@alexandruradovici alexandruradovici left a comment

Choose a reason for hiding this comment

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

Delete the .idea folder from the repository.

@alexandruradovici
Copy link

Split this in two pull requests, one that fixes the existing chapters and one that adds the extra chapter.

content_markdown: >
In Rust, `panic!` is a macro used to stop the execution of the program
without a recoverable error. When a panic occurs, the program immediately
stop, unwinding the stack and cleaning up resources along the way.

Choose a reason for hiding this comment

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

stops*

content_markdown: >
The `extern crate` directive was used in older versions of Rust (before the 2018 edition).

Now, is no longer required to use `extern crate` in code.

Choose a reason for hiding this comment

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

it is no longer*

@TrifanBogdan24
Copy link
Author

The changes are split in the following two different Pull Request:

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.

3 participants