diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-12-13 12:43:16 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-12-13 12:43:16 +0300 |
commit | 3f904553ea1336fc73333ec680493c41250a03fe (patch) | |
tree | ea270ea2f9b5484fc729a4a174ea2a0261e89f9a /audio/csound | |
parent | 289e8a08c31610fbf62056f8a156eb647e9c3a2a (diff) |
Fix various new clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1011>
Diffstat (limited to 'audio/csound')
-rw-r--r-- | audio/csound/tests/csound_filter.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/csound/tests/csound_filter.rs b/audio/csound/tests/csound_filter.rs index 275a90e3..d52bb3b1 100644 --- a/audio/csound/tests/csound_filter.rs +++ b/audio/csound/tests/csound_filter.rs @@ -260,10 +260,7 @@ fn csound_filter_underflow() { } assert_eq!(num_buffers, UNDERFLOW_NUM_BUFFERS / 2); - assert_eq!( - num_samples as usize, - UNDERFLOW_NUM_SAMPLES * UNDERFLOW_NUM_BUFFERS - ); + assert_eq!(num_samples, UNDERFLOW_NUM_SAMPLES * UNDERFLOW_NUM_BUFFERS); } // Verifies that the caps negotiation is properly done, by pushing buffers whose caps |