Eliminate or suppress Clippy messages.
This commit is contained in:
parent
997fb9fa8a
commit
17e079d15d
5 changed files with 23 additions and 15 deletions
|
|
@ -423,6 +423,7 @@ impl OutputCallbackInfo {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::len_without_is_empty)]
|
||||
impl Data {
|
||||
// Internal constructor for host implementations to use.
|
||||
//
|
||||
|
|
@ -457,7 +458,7 @@ impl Data {
|
|||
pub fn len(&self) -> usize {
|
||||
self.len
|
||||
}
|
||||
|
||||
|
||||
/// The raw slice of memory representing the underlying audio data as a slice of bytes.
|
||||
///
|
||||
/// It is up to the user to interpret the slice of memory based on `Data::sample_format`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue