100 exercises to learn Rust

This commit is contained in:
LukeMathWalker
2024-05-12 22:21:03 +02:00
commit 5edebf6cf2
309 changed files with 13173 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
[package]
name = "packages"
version = "0.1.0"
edition = "2021"

View File

@@ -0,0 +1,11 @@
// This is a `main.rs` file, therefore `cargo` interprets this as the root of a binary target.
// TODO: fix this broken import. Create a new library target in the `src` directory.
// The library target should expose a public function named `hello_world` that takes no arguments
// and returns nothing.
use packages::hello_world;
// This is the entrypoint of the binary.
fn main() {
hello_world();
}