aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index aa73fd2..eab4b61 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -15,6 +15,8 @@ fn main() {
sodiumoxide::init().unwrap();
let mut router = router::Device::new(8);
-
- let peer = router.new_peer();
+ {
+ let peer = router.new_peer();
+ }
+ loop {}
}