Browse Source

Remove redundant `let` binding

master
Andreas Linz 5 years ago
parent
commit
d787c16e32
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/stream.rs

+ 1
- 2
src/stream.rs View File

@ -388,8 +388,7 @@ impl<'a> OutStream<'a> {
/// Returns the underlying device of the output stream.
pub fn device(&self) -> Device {
let dev = Device::new(unsafe { (*self.stream).device });
dev
Device::new(unsafe { (*self.stream).device })
}
/// Sets the stream name to `name`.

Loading…
Cancel
Save