diff options
author | Eduardo Broto <ebroto@tutanota.com> | 2019-12-20 20:27:55 +0100 |
---|---|---|
committer | Eduardo Broto <ebroto@tutanota.com> | 2019-12-20 20:27:55 +0100 |
commit | d2a9434f157cbcc6ecfa37988c4951563f30fbf4 (patch) | |
tree | d50e13aec244aa3bee142a0d55a0553e7fa861c9 | |
parent | 642de57628b28558c02cddd775a4c9a022cba535 (diff) |
docs(interfaces): Add a comment explaining break with label syntax
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 34cc09c..26d4e14 100644 --- a/src/main.rs +++ b/src/main.rs @@ -208,6 +208,7 @@ where network_utilization.lock().unwrap().update(segment); } if !running.load(Ordering::Acquire) { + // Break from the outer loop and finish the thread break 'sniffing; } } |