diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 17:42:15 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 17:42:15 +0100 |
commit | 3779cf1770e1be03d60623d965f5e56897fbfa43 (patch) | |
tree | 9b2c39df847e0cbc2b2ba9a7b93f7712a25140f6 /src/lib.rs | |
parent | fce3d8546bd619964ec5dd1594cd93e744a99521 (diff) | |
download | ads1x1x-async-3779cf1770e1be03d60623d965f5e56897fbfa43.tar.gz ads1x1x-async-3779cf1770e1be03d60623d965f5e56897fbfa43.tar.xz ads1x1x-async-3779cf1770e1be03d60623d965f5e56897fbfa43.zip |
Avoid unnecessary type
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -279,7 +279,7 @@ pub struct Ads1x1x<DI, IC, CONV, MODE> { iface: DI, config: Config, a_conversion_was_started: bool, - converter: CONV, + _conv: PhantomData<CONV>, _ic: PhantomData<IC>, _mode: PhantomData<MODE> } |