diff --git a/comments/.gitignore b/1-hello-world/comments/.gitignore similarity index 100% rename from comments/.gitignore rename to 1-hello-world/comments/.gitignore diff --git a/comments/Cargo.toml b/1-hello-world/comments/Cargo.toml similarity index 100% rename from comments/Cargo.toml rename to 1-hello-world/comments/Cargo.toml diff --git a/comments/src/main.rs b/1-hello-world/comments/src/main.rs similarity index 100% rename from comments/src/main.rs rename to 1-hello-world/comments/src/main.rs diff --git a/1-hello-world/debug/Cargo.lock b/1-hello-world/debug/Cargo.lock new file mode 100644 index 0000000..2c83c29 --- /dev/null +++ b/1-hello-world/debug/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "debug" +version = "0.1.0" diff --git a/debug/Cargo.toml b/1-hello-world/debug/Cargo.toml similarity index 100% rename from debug/Cargo.toml rename to 1-hello-world/debug/Cargo.toml diff --git a/1-hello-world/debug/main b/1-hello-world/debug/main new file mode 100755 index 0000000..8317cb2 Binary files /dev/null and b/1-hello-world/debug/main differ diff --git a/1-hello-world/debug/src/main.rs b/1-hello-world/debug/src/main.rs new file mode 100644 index 0000000..b97dc82 --- /dev/null +++ b/1-hello-world/debug/src/main.rs @@ -0,0 +1,49 @@ +// This structure cannot be printed either with `fmt::Display` or +// with `fmt::Debug`. +struct UnPrintable(i32); + +// The `derive` attribute automatically creates the implementation +// required to make this `struct` printable with `fmt::Debug`. +#[derive(Debug)] +struct DebugPrintable(i32); + +// Derive the `fmt::Debug` implementation for `Structure`. `Structure` +// is a structure which contains a single `i32`. +#[derive(Debug)] +struct Structure(i32); + +// Put a `Structure` inside of the structure `Deep`. Make it printable +// also. +#[derive(Debug)] +struct Deep(Structure); + +#[derive(Debug)] +struct Person<'a> { + name: &'a str, + age: u8 +} + +fn main() { + // Printing with `{:?}` is similar to with `{}`. + println!("{:?} months in a year.", 12); + println!("{1:?} {0:?} is the {actor:?} name.", + "Slater", + "Christian", + actor="actor's"); + + // `Structure` is printable! + println!("Now {:?} will print!", Structure(3)); + + // The problem with `derive` is there is no control over how + // the results look. What if I want this to just show a `7`? + println!("Now {:?} will print!", Deep(Structure(7))); + + // `fmt::Debug` deinitely makes this printable but sacrifice some elegance. + // Rust also provide "pretty print" with `{:#?}`. + let name = "Peter"; + let age = 27; + let peter = Person { name, age }; + + // Pretty print + println!("{:#?}", peter); +} diff --git a/1-hello-world/debug/target/.rustc_info.json b/1-hello-world/debug/target/.rustc_info.json new file mode 100644 index 0000000..21867d4 --- /dev/null +++ b/1-hello-world/debug/target/.rustc_info.json @@ -0,0 +1 @@ +{"rustc_fingerprint":14802351894921902018,"outputs":{"7971740275564407648":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/nak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_primitive_alignment=\"16\"\ntarget_has_atomic_primitive_alignment=\"32\"\ntarget_has_atomic_primitive_alignment=\"64\"\ntarget_has_atomic_primitive_alignment=\"8\"\ntarget_has_atomic_primitive_alignment=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"1847801304416329599":{"success":true,"status":"","code":0,"stdout":"rustc 1.98.1 (48a229cea 2026-09-01)\nbinary: rustc\ncommit-hash: 48a229ceaefd4985c50990b14116b6d856af0985\ncommit-date: 2026-09-01\nhost: x86_64-unknown-linux-gnu\nrelease: 1.98.1\nLLVM version: 22.1.8\n","stderr":""}},"successes":{}} \ No newline at end of file diff --git a/1-hello-world/debug/target/CACHEDIR.TAG b/1-hello-world/debug/target/CACHEDIR.TAG new file mode 100644 index 0000000..20d7c31 --- /dev/null +++ b/1-hello-world/debug/target/CACHEDIR.TAG @@ -0,0 +1,3 @@ +Signature: 8a477f597d28d172789f06886806bc55 +# This file is a cache directory tag created by cargo. +# For information about cache directory tags see https://bford.info/cachedir/ diff --git a/1-hello-world/debug/target/debug/.cargo-artifact-lock b/1-hello-world/debug/target/debug/.cargo-artifact-lock new file mode 100644 index 0000000..e69de29 diff --git a/1-hello-world/debug/target/debug/.cargo-build-lock b/1-hello-world/debug/target/debug/.cargo-build-lock new file mode 100644 index 0000000..e69de29 diff --git a/1-hello-world/debug/target/debug/.cargo-lock b/1-hello-world/debug/target/debug/.cargo-lock new file mode 100644 index 0000000..e69de29 diff --git a/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/bin-debug b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/bin-debug new file mode 100644 index 0000000..54db1dd --- /dev/null +++ b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/bin-debug @@ -0,0 +1 @@ +dc3015345aa383a3 \ No newline at end of file diff --git a/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/bin-debug.json b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/bin-debug.json new file mode 100644 index 0000000..5608bee --- /dev/null +++ b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/bin-debug.json @@ -0,0 +1 @@ +{"rustc":1625334936438085654,"features":"[]","declared_features":"[]","target":2484616488665672794,"profile":8731458305071235362,"path":4942398508502643691,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/debug-5a1b483393417d95/dep-bin-debug","checksum":false}}],"rustflags":[],"config":9396254390672932401,"compile_kind":0} \ No newline at end of file diff --git a/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/dep-bin-debug b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/dep-bin-debug new file mode 100644 index 0000000..5c54f74 Binary files /dev/null and b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/dep-bin-debug differ diff --git a/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/invoked.timestamp b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/invoked.timestamp new file mode 100644 index 0000000..e00328d --- /dev/null +++ b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/invoked.timestamp @@ -0,0 +1 @@ +This file has an mtime of when this was started. \ No newline at end of file diff --git a/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/output-bin-debug b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/output-bin-debug new file mode 100644 index 0000000..bc4c51e --- /dev/null +++ b/1-hello-world/debug/target/debug/.fingerprint/debug-5a1b483393417d95/output-bin-debug @@ -0,0 +1,6 @@ +{"$message_type":"diagnostic","message":"struct `UnPrintable` is never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":95,"byte_end":106,"line_start":3,"line_end":3,"column_start":8,"column_end":19,"is_primary":true,"text":[{"text":"struct UnPrintable(i32);","highlight_start":8,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: struct `UnPrintable` is never constructed\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:3:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m3\u001b[0m \u001b[1m\u001b[94m|\u001b[0m struct UnPrintable(i32);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default\n\n"} +{"$message_type":"diagnostic","message":"struct `DebugPrintable` is never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":268,"byte_end":282,"line_start":8,"line_end":8,"column_start":8,"column_end":22,"is_primary":true,"text":[{"text":"struct DebugPrintable(i32);","highlight_start":8,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: struct `DebugPrintable` is never constructed\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:8:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m8\u001b[0m \u001b[1m\u001b[94m|\u001b[0m struct DebugPrintable(i32);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^^^^^^\u001b[0m\n\n"} +{"$message_type":"diagnostic","message":"field `0` is never read","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":434,"byte_end":443,"line_start":13,"line_end":13,"column_start":8,"column_end":17,"is_primary":false,"text":[{"text":"struct Structure(i32);","highlight_start":8,"highlight_end":17}],"label":"field in this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/main.rs","byte_start":444,"byte_end":447,"line_start":13,"line_end":13,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"struct Structure(i32);","highlight_start":18,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing this field","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: field `0` is never read\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:13:18\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m13\u001b[0m \u001b[1m\u001b[94m|\u001b[0m struct Structure(i32);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---------\u001b[0m \u001b[1m\u001b[33m^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94mfield in this struct\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: consider removing this field\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\n\n"} +{"$message_type":"diagnostic","message":"field `0` is never read","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":555,"byte_end":559,"line_start":18,"line_end":18,"column_start":8,"column_end":12,"is_primary":false,"text":[{"text":"struct Deep(Structure);","highlight_start":8,"highlight_end":12}],"label":"field in this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/main.rs","byte_start":560,"byte_end":569,"line_start":18,"line_end":18,"column_start":13,"column_end":22,"is_primary":true,"text":[{"text":"struct Deep(Structure);","highlight_start":13,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing this field","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Deep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: field `0` is never read\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:18:13\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m18\u001b[0m \u001b[1m\u001b[94m|\u001b[0m struct Deep(Structure);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m----\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94mfield in this struct\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: consider removing this field\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `Deep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\n\n"} +{"$message_type":"diagnostic","message":"fields `name` and `age` are never read","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":597,"byte_end":603,"line_start":21,"line_end":21,"column_start":8,"column_end":14,"is_primary":false,"text":[{"text":"struct Person<'a> {","highlight_start":8,"highlight_end":14}],"label":"fields in this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/main.rs","byte_start":614,"byte_end":618,"line_start":22,"line_end":22,"column_start":5,"column_end":9,"is_primary":true,"text":[{"text":" name: &'a str,","highlight_start":5,"highlight_end":9}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/main.rs","byte_start":633,"byte_end":636,"line_start":23,"line_end":23,"column_start":5,"column_end":8,"is_primary":true,"text":[{"text":" age: u8","highlight_start":5,"highlight_end":8}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: fields `name` and `age` are never read\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:22:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m21\u001b[0m \u001b[1m\u001b[94m|\u001b[0m struct Person<'a> {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m------\u001b[0m \u001b[1m\u001b[94mfields in this struct\u001b[0m\n\u001b[1m\u001b[94m22\u001b[0m \u001b[1m\u001b[94m|\u001b[0m name: &'a str,\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^\u001b[0m\n\u001b[1m\u001b[94m23\u001b[0m \u001b[1m\u001b[94m|\u001b[0m age: u8\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\n\n"} +{"$message_type":"diagnostic","message":"5 warnings emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: 5 warnings emitted\u001b[0m\n\n"} diff --git a/1-hello-world/debug/target/debug/debug b/1-hello-world/debug/target/debug/debug new file mode 100755 index 0000000..b45a4a4 Binary files /dev/null and b/1-hello-world/debug/target/debug/debug differ diff --git a/1-hello-world/debug/target/debug/debug.d b/1-hello-world/debug/target/debug/debug.d new file mode 100644 index 0000000..0033e22 --- /dev/null +++ b/1-hello-world/debug/target/debug/debug.d @@ -0,0 +1 @@ +/home/nak/Code/rust/learn-rust/debug/target/debug/debug: /home/nak/Code/rust/learn-rust/debug/src/main.rs diff --git a/1-hello-world/debug/target/debug/deps/debug-5a1b483393417d95 b/1-hello-world/debug/target/debug/deps/debug-5a1b483393417d95 new file mode 100755 index 0000000..b45a4a4 Binary files /dev/null and b/1-hello-world/debug/target/debug/deps/debug-5a1b483393417d95 differ diff --git a/1-hello-world/debug/target/debug/deps/debug-5a1b483393417d95.d b/1-hello-world/debug/target/debug/deps/debug-5a1b483393417d95.d new file mode 100644 index 0000000..656d168 --- /dev/null +++ b/1-hello-world/debug/target/debug/deps/debug-5a1b483393417d95.d @@ -0,0 +1,5 @@ +/home/nak/Code/rust/learn-rust/debug/target/debug/deps/debug-5a1b483393417d95.d: src/main.rs + +/home/nak/Code/rust/learn-rust/debug/target/debug/deps/debug-5a1b483393417d95: src/main.rs + +src/main.rs: diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/1kx9q5ktxlpvg3ynkhlpoggia.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/1kx9q5ktxlpvg3ynkhlpoggia.o new file mode 100644 index 0000000..fc5c62a Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/1kx9q5ktxlpvg3ynkhlpoggia.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/39hvvfy25xl8xv2g4vjb9749l.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/39hvvfy25xl8xv2g4vjb9749l.o new file mode 100644 index 0000000..59bb927 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/39hvvfy25xl8xv2g4vjb9749l.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/5ysb61p4us27km2x2ihv65j9n.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/5ysb61p4us27km2x2ihv65j9n.o new file mode 100644 index 0000000..0f226a2 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/5ysb61p4us27km2x2ihv65j9n.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/6lbikigt9h6fgllnb5c07z4fy.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/6lbikigt9h6fgllnb5c07z4fy.o new file mode 100644 index 0000000..e77412d Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/6lbikigt9h6fgllnb5c07z4fy.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/71ksqsiz0fm18iraldqogdpn9.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/71ksqsiz0fm18iraldqogdpn9.o new file mode 100644 index 0000000..f6b84b3 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/71ksqsiz0fm18iraldqogdpn9.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/8zx03bwm0au1o1bon9xbxwzm6.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/8zx03bwm0au1o1bon9xbxwzm6.o new file mode 100644 index 0000000..ad43baa Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/8zx03bwm0au1o1bon9xbxwzm6.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/culxnskgs9w93cqn7wvhqae06.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/culxnskgs9w93cqn7wvhqae06.o new file mode 100644 index 0000000..ab0ae3a Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/culxnskgs9w93cqn7wvhqae06.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/cwerfo5xm45wfdl63r2gm0wlc.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/cwerfo5xm45wfdl63r2gm0wlc.o new file mode 100644 index 0000000..3920aba Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/cwerfo5xm45wfdl63r2gm0wlc.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/dep-graph.bin b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/dep-graph.bin new file mode 100644 index 0000000..fcc4715 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/dep-graph.bin differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/el17geyb9dy9bwsby02jrzi8n.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/el17geyb9dy9bwsby02jrzi8n.o new file mode 100644 index 0000000..6c7a536 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/el17geyb9dy9bwsby02jrzi8n.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/query-cache.bin b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/query-cache.bin new file mode 100644 index 0000000..5da8e7c Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/query-cache.bin differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/work-products.bin b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/work-products.bin new file mode 100644 index 0000000..22056dd Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2-5j5cv7sw2gnovh63kz9t6nrv6/work-products.bin differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2.lock b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlft1gys-1ja2ma2.lock new file mode 100644 index 0000000..e69de29 diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/1kx9q5ktxlpvg3ynkhlpoggia.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/1kx9q5ktxlpvg3ynkhlpoggia.o new file mode 100644 index 0000000..fc5c62a Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/1kx9q5ktxlpvg3ynkhlpoggia.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/39hvvfy25xl8xv2g4vjb9749l.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/39hvvfy25xl8xv2g4vjb9749l.o new file mode 100644 index 0000000..59bb927 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/39hvvfy25xl8xv2g4vjb9749l.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/5ysb61p4us27km2x2ihv65j9n.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/5ysb61p4us27km2x2ihv65j9n.o new file mode 100644 index 0000000..0f226a2 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/5ysb61p4us27km2x2ihv65j9n.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/6lbikigt9h6fgllnb5c07z4fy.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/6lbikigt9h6fgllnb5c07z4fy.o new file mode 100644 index 0000000..e77412d Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/6lbikigt9h6fgllnb5c07z4fy.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/71ksqsiz0fm18iraldqogdpn9.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/71ksqsiz0fm18iraldqogdpn9.o new file mode 100644 index 0000000..f6b84b3 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/71ksqsiz0fm18iraldqogdpn9.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/8zx03bwm0au1o1bon9xbxwzm6.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/8zx03bwm0au1o1bon9xbxwzm6.o new file mode 100644 index 0000000..ad43baa Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/8zx03bwm0au1o1bon9xbxwzm6.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/culxnskgs9w93cqn7wvhqae06.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/culxnskgs9w93cqn7wvhqae06.o new file mode 100644 index 0000000..ab0ae3a Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/culxnskgs9w93cqn7wvhqae06.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/cwerfo5xm45wfdl63r2gm0wlc.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/cwerfo5xm45wfdl63r2gm0wlc.o new file mode 100644 index 0000000..4a43a5e Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/cwerfo5xm45wfdl63r2gm0wlc.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/dep-graph.bin b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/dep-graph.bin new file mode 100644 index 0000000..c150cc0 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/dep-graph.bin differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/el17geyb9dy9bwsby02jrzi8n.o b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/el17geyb9dy9bwsby02jrzi8n.o new file mode 100644 index 0000000..967bea0 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/el17geyb9dy9bwsby02jrzi8n.o differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/query-cache.bin b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/query-cache.bin new file mode 100644 index 0000000..61d9dd2 Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/query-cache.bin differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/work-products.bin b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/work-products.bin new file mode 100644 index 0000000..22056dd Binary files /dev/null and b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33-ctzfnu2rxrd0j8l8r7nsodjjm/work-products.bin differ diff --git a/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33.lock b/1-hello-world/debug/target/debug/incremental/debug-3n7kabs862tle/s-hlzlg0128z-10y0g33.lock new file mode 100644 index 0000000..e69de29 diff --git a/formatted-print/.gitignore b/1-hello-world/formatted-print/.gitignore similarity index 100% rename from formatted-print/.gitignore rename to 1-hello-world/formatted-print/.gitignore diff --git a/formatted-print/Cargo.lock b/1-hello-world/formatted-print/Cargo.lock similarity index 100% rename from formatted-print/Cargo.lock rename to 1-hello-world/formatted-print/Cargo.lock diff --git a/formatted-print/Cargo.toml b/1-hello-world/formatted-print/Cargo.toml similarity index 100% rename from formatted-print/Cargo.toml rename to 1-hello-world/formatted-print/Cargo.toml diff --git a/formatted-print/src/main.rs b/1-hello-world/formatted-print/src/main.rs similarity index 100% rename from formatted-print/src/main.rs rename to 1-hello-world/formatted-print/src/main.rs diff --git a/helloworld/.gitignore b/1-hello-world/hello-world/.gitignore similarity index 100% rename from helloworld/.gitignore rename to 1-hello-world/hello-world/.gitignore diff --git a/helloworld/Cargo.lock b/1-hello-world/hello-world/Cargo.lock similarity index 100% rename from helloworld/Cargo.lock rename to 1-hello-world/hello-world/Cargo.lock diff --git a/helloworld/Cargo.toml b/1-hello-world/hello-world/Cargo.toml similarity index 100% rename from helloworld/Cargo.toml rename to 1-hello-world/hello-world/Cargo.toml diff --git a/helloworld/main b/1-hello-world/hello-world/main similarity index 100% rename from helloworld/main rename to 1-hello-world/hello-world/main diff --git a/helloworld/src/main.rs b/1-hello-world/hello-world/src/main.rs similarity index 100% rename from helloworld/src/main.rs rename to 1-hello-world/hello-world/src/main.rs diff --git a/debug/src/main.rs b/debug/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/debug/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -}