Skip to content

Added Explanations#15

Closed
TrifanBogdan24 wants to merge 5 commits intoUPB-CS-OpenSourceUpstream:masterfrom
TrifanBogdan24:master
Closed

Added Explanations#15
TrifanBogdan24 wants to merge 5 commits intoUPB-CS-OpenSourceUpstream:masterfrom
TrifanBogdan24:master

Conversation

@TrifanBogdan24
Copy link
Copy Markdown

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
@TrifanBogdan24
Copy link
Copy Markdown
Author

Copy link
Copy Markdown

@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
Copy Markdown

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.
Copy link
Copy Markdown

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.
Copy link
Copy Markdown

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
Copy Markdown
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