diff options
author | Adam Carpenter <53hornet@gmail.com> | 2019-03-27 15:32:37 -0400 |
---|---|---|
committer | Adam Carpenter <53hornet@gmail.com> | 2019-03-27 15:32:37 -0400 |
commit | 67cdcc2e12118becb823e20a40cc2687f2b8425a (patch) | |
tree | ed92c3234b89079e6d4cf36f5e80c5ffa79def48 /variables | |
parent | e25482fca375d318a39c3b54db396b0db6e0b263 (diff) | |
download | learning-rust-67cdcc2e12118becb823e20a40cc2687f2b8425a.tar.xz learning-rust-67cdcc2e12118becb823e20a40cc2687f2b8425a.zip |
Started Rust in Action MEAP.
Diffstat (limited to 'variables')
-rwxr-xr-x | variables/Cargo.lock | 4 | ||||
-rwxr-xr-x | variables/Cargo.toml | 7 | ||||
-rwxr-xr-x | variables/src/main.rs | 6 |
3 files changed, 0 insertions, 17 deletions
diff --git a/variables/Cargo.lock b/variables/Cargo.lock deleted file mode 100755 index 6d77f6b..0000000 --- a/variables/Cargo.lock +++ /dev/null @@ -1,4 +0,0 @@ -[[package]] -name = "variables" -version = "0.1.0" - diff --git a/variables/Cargo.toml b/variables/Cargo.toml deleted file mode 100755 index 62ee489..0000000 --- a/variables/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "variables" -version = "0.1.0" -authors = ["Adam Carpenter <carpenat@ES.AD.ADP.COM>"] -edition = "2018" - -[dependencies] diff --git a/variables/src/main.rs b/variables/src/main.rs deleted file mode 100755 index d632530..0000000 --- a/variables/src/main.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn main() { - let a: [i32; 5] = [1, 2, 3, 4, 5]; - let first = a[0]; - let second = a[1]; - println!("{} {}", first, second); -} |