diff options
author | Eduardo Broto <ebroto@tutanota.com> | 2019-12-20 21:20:13 +0100 |
---|---|---|
committer | Eduardo Broto <ebroto@tutanota.com> | 2019-12-20 21:20:13 +0100 |
commit | b44b646b5ef95d5b44911f70bc092bd11361e064 (patch) | |
tree | 46c4ef1c69a5e32f96bdc09f9c7a125237b9147d /src/tests/fakes | |
parent | 6436b7d70a5947d5fa2e6232ca2f858d4f5b8827 (diff) |
style(code): fix clippy errors
Diffstat (limited to 'src/tests/fakes')
-rw-r--r-- | src/tests/fakes/fake_input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/fakes/fake_input.rs b/src/tests/fakes/fake_input.rs index 5e02d83..a3b84b3 100644 --- a/src/tests/fakes/fake_input.rs +++ b/src/tests/fakes/fake_input.rs @@ -50,7 +50,7 @@ pub struct NetworkFrames { } impl NetworkFrames { - pub fn new(packets: Vec<Option<Vec<u8>>>) -> Box<dyn DataLinkReceiver> { + pub fn new(packets: Vec<Option<Vec<u8>>>) -> Box<Self> { Box::new(NetworkFrames { packets, current_index: 0, |