Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Jun 5, 2020
1 parent 2a72891 commit 38786e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions notes/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@
2. Build the crate (it's like `go create`):

`cargo build`

`cargo b`

3. Run the crate (it's like `go run`):

`cargo run`

`cargo r`

1. Silently run:
Expand All @@ -35,6 +37,7 @@
4. Check whether your program can compile:

`cargo check`

`cargo c`

Rustaceans use this command to periodically check their programs. After working on their program, and when they're sure, they build your program using `cargo build --release`.
Expand All @@ -56,6 +59,7 @@
7. Create a library package.

`cargo new --lib <name>`

_This command will create a package with a test._

8. Work on someone else's project:
Expand Down

0 comments on commit 38786e9

Please sign in to comment.