diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ Install the crate in your `Cargo.toml`: ```toml [dependencies] -rustl-sdr = "0.1" +rustl-sdr = "0.2" ``` Use in your code: @@ -28,7 +28,7 @@ impl<'a> RtlSdr<'a> { } pub fn open(&mut self) { - for mut dev in self.ctx.devices().unwrap().iter() { + for dev in self.ctx.devices().unwrap().iter() { let desc = dev.device_descriptor().unwrap(); let vid = desc.vendor_id(); let pid = desc.product_id(); |
