BrooksPatton / learning-rust

Learning Rust from the official Rust book
MIT License
35 stars 5 forks source link

learning-rust

Learning Rust from the official Rust book

In Chapter three, created the following projects

At the end of chapter 6

Currently at

Questions to answer

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!