Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ma committed Jan 1, 2024
1 parent 156b3cf commit 8cedbc0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,13 @@ pub(crate) fn assert_valid_time_value(value: f64) {
}

if value < 0. {
panic!("RangeError - The provided time value ({:?}) cannot be negative", value);
panic!(
"RangeError - The provided time value ({:?}) cannot be negative",
value
);
}
}


pub(crate) trait AudioBufferIter: Iterator<Item = FallibleBuffer> + Send + 'static {}

impl<M: Iterator<Item = FallibleBuffer> + Send + 'static> AudioBufferIter for M {}
Expand Down

0 comments on commit 8cedbc0

Please sign in to comment.