Links in Readme.md, New concepts (/src/*.rs)

This commit is contained in:
SocioCyber
2026-04-06 22:03:09 -07:00
parent f750099b06
commit 8e9480b598
6 changed files with 369 additions and 5 deletions

View File

@@ -5,6 +5,11 @@ edition = "2024"
[dependencies]
# To run examples use
# cargo run --bin [Something]
[[bin]]
name = "Ownership" # the name youll 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 youll 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 youll use with --bin
path = "src/clone.rs" # path to the source file
# cargo run --bin Clone
[[bin]]
name = "StackVSHeap" # the name youll use with --bin
path = "src/stack_vs_heap.rs" # path to the source file
# cargo run --bin StackVSHeap