diff options
author | Aram Drevekenin <aram@poor.dev> | 2019-10-17 14:22:18 +0200 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2019-10-17 14:22:18 +0200 |
commit | b226942038908a662e97c5314d96ddcebe8186e0 (patch) | |
tree | a7cd04d850378820072a9aea07672f5b191e681c /src/tests/fakes | |
parent | e73a7777f81fb06805ed62b18671f949bdb1ac74 (diff) |
refactor(styling): betterify
Diffstat (limited to 'src/tests/fakes')
-rw-r--r-- | src/tests/fakes/fake_input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/fakes/fake_input.rs b/src/tests/fakes/fake_input.rs index cb2710a..6d76471 100644 --- a/src/tests/fakes/fake_input.rs +++ b/src/tests/fakes/fake_input.rs @@ -24,7 +24,7 @@ impl Iterator for KeyboardEvents { match self.events.pop() { Some(ev) => { match ev { - Some(ev) => Some(ev), // TODO: better + Some(ev) => Some(ev), None => { thread::sleep(time::Duration::from_secs(1)); self.next() @@ -66,7 +66,7 @@ impl DataLinkReceiver for NetworkFrames { let action = self.next_packet(); match action { Some(packet) => { - Ok(&packet[..]) // TODO: better + Ok(&packet[..]) } None => { thread::sleep(time::Duration::from_secs(1)); |