Skip to content

BrooksPatton/learning-rust

Repository files navigation

learning-rust

Learning Rust from the official Rust book

In Chapter three, created the following projects

At the end of chapter 6

Currently at

  • Finished the book

Questions to answer

  • What does a panic! look like from a compiled app

Documentation fixes for the book


$ cargo new add-one
     Created library `add-one` project

For creating a library, need the lib flag

In Chapter 10 in the “Implementing a Trait on a Type” section, we mentioned the orphan rule that states we’re allowed to implement a trait on a type as long as either the trait or the type are local to our crate.

we're -> were

Contributors

The following awesome people have helped me improve these examples and make the code better!

  • @fschutt
  • @aeveris

About

Learning Rust from the official Rust book

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages