1
0
Fork 0

Clarify integer range conventions in docs

This resolves #42.
This commit is contained in:
Robbert van der Helm 2022-11-07 22:47:00 +01:00
parent 69f9880fe5
commit 4893479485

View file

@ -26,7 +26,8 @@ pub enum MidiConfig {
/// [`util`][crate::util] module for convenient conversion functions.
///
/// All of the timings are sample offsets withing the current buffer. All sample, channel and note
/// numbers are zero-indexed.
/// numbers are zero-indexed. All integer `from n to m` are exclusive, and they are equivalent to
/// the `n..m` range in Rust.
#[derive(Debug, Clone, Copy, PartialEq)]
#[non_exhaustive]
pub enum NoteEvent {