summaryrefslogtreecommitdiff
path: root/control
diff options
context:
space:
mode:
authorAdam Carpenter <adam.carpenter@adp.com>2019-02-11 16:59:01 -0500
committerAdam Carpenter <adam.carpenter@adp.com>2019-02-11 16:59:01 -0500
commitef1bf4921ee4127d461eec03a14c9070d193345c (patch)
treeab9f4ed73fcf97656743c959ce8c9adbe2ce9924 /control
downloadlearning-rust-ef1bf4921ee4127d461eec03a14c9070d193345c.tar.xz
learning-rust-ef1bf4921ee4127d461eec03a14c9070d193345c.zip
Init.
Diffstat (limited to 'control')
-rwxr-xr-xcontrol/.gitignore2
-rwxr-xr-xcontrol/Cargo.lock4
-rwxr-xr-xcontrol/Cargo.toml7
-rwxr-xr-xcontrol/src/main.rs7
4 files changed, 20 insertions, 0 deletions
diff --git a/control/.gitignore b/control/.gitignore
new file mode 100755
index 0000000..53eaa21
--- /dev/null
+++ b/control/.gitignore
@@ -0,0 +1,2 @@
+/target
+**/*.rs.bk
diff --git a/control/Cargo.lock b/control/Cargo.lock
new file mode 100755
index 0000000..81a9861
--- /dev/null
+++ b/control/Cargo.lock
@@ -0,0 +1,4 @@
+[[package]]
+name = "control"
+version = "0.1.0"
+
diff --git a/control/Cargo.toml b/control/Cargo.toml
new file mode 100755
index 0000000..70b4d1d
--- /dev/null
+++ b/control/Cargo.toml
@@ -0,0 +1,7 @@
+[package]
+name = "control"
+version = "0.1.0"
+authors = ["Adam Carpenter <carpenat@ES.AD.ADP.COM>"]
+edition = "2018"
+
+[dependencies]
diff --git a/control/src/main.rs b/control/src/main.rs
new file mode 100755
index 0000000..0b74683
--- /dev/null
+++ b/control/src/main.rs
@@ -0,0 +1,7 @@
+fn main() {
+
+ for number in (1..1000).rev() {
+ println!("{}", number);
+ }
+}
+