From af35605a3ee8989a4cce0f63d94a5b9c1d7e960e Mon Sep 17 00:00:00 2001 From: jellyfishsh Date: Sat, 12 Apr 2025 12:52:45 -0700 Subject: [PATCH] updated README.md with references --- Cargo.lock | 7 +++++++ README.md | 4 +++- src/main.rs | 10 ++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Cargo.lock diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..330b4fa --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "sorting-algos" +version = "0.1.0" diff --git a/README.md b/README.md index 0137dc5..f4d5a53 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # sorting-algos -Implementing sorting algorithms in Rust to learn the language. \ No newline at end of file +Implementing sorting algorithms in Rust to learn the language. + +Learning solely via (Rust By Example)[https://doc.rust-lang.org/rust-by-example/] diff --git a/src/main.rs b/src/main.rs index e7a11a9..1637f23 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,13 @@ fn main() { println!("Hello, world!"); + + // } + +//Takes in an array, and returns a sorted array +fn selection_sort() { + + +} + +fn random_array(size : u32) ->