Links in Readme.md, New concepts (/src/*.rs)
This commit is contained in:
@@ -5,6 +5,11 @@ edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
|
||||
|
||||
# To run examples use
|
||||
# cargo run --bin [Something]
|
||||
|
||||
[[bin]]
|
||||
name = "Ownership" # the name you’ll use with --bin
|
||||
path = "src/ownership.rs" # path to the source file
|
||||
@@ -19,4 +24,14 @@ path = "src/borrowing.rs" # path to the source file
|
||||
[[bin]]
|
||||
name = "MutBorrowing" # the name you’ll use with --bin
|
||||
path = "src/mutable_borrow.rs" # path to the source file
|
||||
# cargo run --bin MutBorrowing
|
||||
# cargo run --bin MutBorrowing
|
||||
|
||||
[[bin]]
|
||||
name = "Clone" # the name you’ll use with --bin
|
||||
path = "src/clone.rs" # path to the source file
|
||||
# cargo run --bin Clone
|
||||
|
||||
[[bin]]
|
||||
name = "StackVSHeap" # the name you’ll use with --bin
|
||||
path = "src/stack_vs_heap.rs" # path to the source file
|
||||
# cargo run --bin StackVSHeap
|
||||
Reference in New Issue
Block a user