aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2018-08-08 02:31:33 +0200
committerTeddy Wing2018-08-08 02:31:33 +0200
commit48b59add2b90b8bac821fe8e5a38b815b13ec8ea (patch)
tree2337933bbf7ba648f4c4664c0bf57523c93ea3ac /src
parent943a8d32456380f8e3281efcfb67a4c5ad9e23b2 (diff)
downloaddome-key-map-48b59add2b90b8bac821fe8e5a38b815b13ec8ea.tar.bz2
Initialise new project with Cargo
$ cargo init --lib $ rustc --version rustc 1.28.0 (9634041f0 2018-07-30)
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..31e1bb2
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,7 @@
+#[cfg(test)]
+mod tests {
+ #[test]
+ fn it_works() {
+ assert_eq!(2 + 2, 4);
+ }
+}