Skip to content

Commit

Permalink
improve Buf wrapper documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Dec 10, 2022
1 parent e63eaed commit 8ecb7c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions audio-core/src/buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ pub trait Buf {
/// ```
fn iter(&self) -> Self::Iter<'_>;

/// Construct a new buffer where `n` frames are skipped.
/// Construct a wrapper around this buffer that skips the first `n` frames.
///
/// # Examples
///
Expand Down Expand Up @@ -195,7 +195,7 @@ pub trait Buf {
Skip::new(self, n)
}

/// Construct a new buffer where `n` frames are skipped.
/// Construct a wrapper around this buffer that skips the last `n` frames.
///
/// # Examples
///
Expand Down Expand Up @@ -239,7 +239,7 @@ pub trait Buf {
Tail::new(self, n)
}

/// Limit the channel buffer to `limit` number of frames.
/// Construct a wrapper around this buffer which stops after `limit` frames.
///
/// # Examples
///
Expand Down

0 comments on commit 8ecb7c3

Please # to comment.