Skip to content

Commit

Permalink
Correct docs for AlignedVec::into_boxed_slice
Browse files Browse the repository at this point in the history
  • Loading branch information
djkoloski committed Mar 3, 2022
1 parent 444a5ca commit 29645ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rkyv/src/util/aligned_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,7 @@ impl AlignedVec {

/// Converts the vector into `Box<[u8]>`.
///
/// This will preserve the alignment guarantees provided by `AlignedVec`. Note that this will
/// drop any excess capacity.
/// This method reallocates and copies the underlying bytes. Any excess capacity is dropped.
///
/// # Examples
/// ```
Expand Down

0 comments on commit 29645ba

Please sign in to comment.