Skip to content

Commit

Permalink
fix(io): name of Buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Dec 24, 2024
1 parent a5cf51d commit 25754f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compio-io/src/read/managed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub trait AsyncReadManaged {
type Buffer<'a>: DerefMut<Target = [u8]>;

/// Read some bytes from this source with [`BufferPool`] and return
/// a [`BorrowedBuffer`].
/// a [`Buffer`].
///
/// If `len` == 0, will use [`BufferPool`] inner buffer size as the max len,
/// if `len` > 0, `min(len, inner buffer size)` will be the read max len
Expand All @@ -33,7 +33,7 @@ pub trait AsyncReadAtManaged {
type Buffer<'a>: DerefMut<Target = [u8]>;

/// Read some bytes from this source at position with [`BufferPool`] and
/// return a [`BorrowedBuffer`].
/// return a [`Buffer`].
///
/// If `len` == 0, will use [`BufferPool`] inner buffer size as the max len,
/// if `len` > 0, `min(len, inner buffer size)` will be the read max len
Expand Down

0 comments on commit 25754f7

Please sign in to comment.