From 9848a889ea33b046c54f8885e733eedd7d634fc7 Mon Sep 17 00:00:00 2001 From: Nathan Stocks Date: Sat, 12 Jun 2021 23:36:49 -0600 Subject: [PATCH] Use singular for directory names --- README.md | 4 ++-- {examples => example}/cafeteria/.gitignore | 0 {examples => example}/cafeteria/Cargo.toml | 0 {examples => example}/cafeteria/src/main.rs | 0 {examples => example}/hello/Cargo.toml | 0 {examples => example}/hello/benches/snuggle_speed.rs | 0 {examples => example}/hello/src/lib.rs | 0 {examples => example}/hello/src/main.rs | 0 {examples => example}/hello/tests/anything.rs | 0 {examples => example}/kitchen/Cargo.toml | 0 {examples => example}/kitchen/src/main.rs | 0 {examples => example}/puzzle_game/.gitignore | 0 {examples => example}/puzzle_game/Cargo.toml | 0 {examples => example}/puzzle_game/puzzle.dat | 0 {examples => example}/puzzle_game/src/main.rs | 0 {examples => example}/puzzles/.gitignore | 0 {examples => example}/puzzles/Cargo.toml | 0 {examples => example}/puzzles/src/lib.rs | 0 {exercises => exercise}/idiomatic/Cargo.toml | 0 {exercises => exercise}/idiomatic/src/main.rs | 0 20 files changed, 2 insertions(+), 2 deletions(-) rename {examples => example}/cafeteria/.gitignore (100%) rename {examples => example}/cafeteria/Cargo.toml (100%) rename {examples => example}/cafeteria/src/main.rs (100%) rename {examples => example}/hello/Cargo.toml (100%) rename {examples => example}/hello/benches/snuggle_speed.rs (100%) rename {examples => example}/hello/src/lib.rs (100%) rename {examples => example}/hello/src/main.rs (100%) rename {examples => example}/hello/tests/anything.rs (100%) rename {examples => example}/kitchen/Cargo.toml (100%) rename {examples => example}/kitchen/src/main.rs (100%) rename {examples => example}/puzzle_game/.gitignore (100%) rename {examples => example}/puzzle_game/Cargo.toml (100%) rename {examples => example}/puzzle_game/puzzle.dat (100%) rename {examples => example}/puzzle_game/src/main.rs (100%) rename {examples => example}/puzzles/.gitignore (100%) rename {examples => example}/puzzles/Cargo.toml (100%) rename {examples => example}/puzzles/src/lib.rs (100%) rename {exercises => exercise}/idiomatic/Cargo.toml (100%) rename {exercises => exercise}/idiomatic/src/main.rs (100%) diff --git a/README.md b/README.md index 1594101..6e0e507 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ For your convenience, here is a list of all the exercises, with links to view th ## Examples -This course goes over a lot of code in lecture format. Much of the code from the lectures can be found in the [`examples/`] directory in this repository. +This course goes over a lot of code in lecture format. Much of the code from the lectures can be found in the [`example/`] directory in this repository. ## Contribution @@ -55,7 +55,7 @@ See [license/APACHE](license/APACHE) and [license/MIT](license/MIT). If you like Rusty Engine, please consider sponsoring me [on GitHub] or [on Patreon]. 💖 [exercises]: https://github.com/CleanCut/ultimate_rust2#exercises -[`examples/`]: https://github.com/CleanCut/ultimate_rust2/blob/main/examples +[`example/`]: https://github.com/CleanCut/ultimate_rust2/blob/main/example [open an discussion]: https://github.com/CleanCut/ultimate_rust2/discussions/new [Ultimate Rust Crash Course]: https://agileperception.com/ultimate_rust_crash_course [Rust in 3 Weeks]: https://agileperception.com diff --git a/examples/cafeteria/.gitignore b/example/cafeteria/.gitignore similarity index 100% rename from examples/cafeteria/.gitignore rename to example/cafeteria/.gitignore diff --git a/examples/cafeteria/Cargo.toml b/example/cafeteria/Cargo.toml similarity index 100% rename from examples/cafeteria/Cargo.toml rename to example/cafeteria/Cargo.toml diff --git a/examples/cafeteria/src/main.rs b/example/cafeteria/src/main.rs similarity index 100% rename from examples/cafeteria/src/main.rs rename to example/cafeteria/src/main.rs diff --git a/examples/hello/Cargo.toml b/example/hello/Cargo.toml similarity index 100% rename from examples/hello/Cargo.toml rename to example/hello/Cargo.toml diff --git a/examples/hello/benches/snuggle_speed.rs b/example/hello/benches/snuggle_speed.rs similarity index 100% rename from examples/hello/benches/snuggle_speed.rs rename to example/hello/benches/snuggle_speed.rs diff --git a/examples/hello/src/lib.rs b/example/hello/src/lib.rs similarity index 100% rename from examples/hello/src/lib.rs rename to example/hello/src/lib.rs diff --git a/examples/hello/src/main.rs b/example/hello/src/main.rs similarity index 100% rename from examples/hello/src/main.rs rename to example/hello/src/main.rs diff --git a/examples/hello/tests/anything.rs b/example/hello/tests/anything.rs similarity index 100% rename from examples/hello/tests/anything.rs rename to example/hello/tests/anything.rs diff --git a/examples/kitchen/Cargo.toml b/example/kitchen/Cargo.toml similarity index 100% rename from examples/kitchen/Cargo.toml rename to example/kitchen/Cargo.toml diff --git a/examples/kitchen/src/main.rs b/example/kitchen/src/main.rs similarity index 100% rename from examples/kitchen/src/main.rs rename to example/kitchen/src/main.rs diff --git a/examples/puzzle_game/.gitignore b/example/puzzle_game/.gitignore similarity index 100% rename from examples/puzzle_game/.gitignore rename to example/puzzle_game/.gitignore diff --git a/examples/puzzle_game/Cargo.toml b/example/puzzle_game/Cargo.toml similarity index 100% rename from examples/puzzle_game/Cargo.toml rename to example/puzzle_game/Cargo.toml diff --git a/examples/puzzle_game/puzzle.dat b/example/puzzle_game/puzzle.dat similarity index 100% rename from examples/puzzle_game/puzzle.dat rename to example/puzzle_game/puzzle.dat diff --git a/examples/puzzle_game/src/main.rs b/example/puzzle_game/src/main.rs similarity index 100% rename from examples/puzzle_game/src/main.rs rename to example/puzzle_game/src/main.rs diff --git a/examples/puzzles/.gitignore b/example/puzzles/.gitignore similarity index 100% rename from examples/puzzles/.gitignore rename to example/puzzles/.gitignore diff --git a/examples/puzzles/Cargo.toml b/example/puzzles/Cargo.toml similarity index 100% rename from examples/puzzles/Cargo.toml rename to example/puzzles/Cargo.toml diff --git a/examples/puzzles/src/lib.rs b/example/puzzles/src/lib.rs similarity index 100% rename from examples/puzzles/src/lib.rs rename to example/puzzles/src/lib.rs diff --git a/exercises/idiomatic/Cargo.toml b/exercise/idiomatic/Cargo.toml similarity index 100% rename from exercises/idiomatic/Cargo.toml rename to exercise/idiomatic/Cargo.toml diff --git a/exercises/idiomatic/src/main.rs b/exercise/idiomatic/src/main.rs similarity index 100% rename from exercises/idiomatic/src/main.rs rename to exercise/idiomatic/src/main.rs