File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616- Added ` Vec::spare_capacity_mut ` .
1717- Added ` Extend ` impls for ` Deque ` .
1818- Added ` Deque::make_contiguous ` .
19- - Added ` VecView ` , the ` !Sized ` version of ` Vec `
19+ - Added ` VecView ` , the ` !Sized ` version of ` Vec ` .
2020
2121### Changed
2222
Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ pub type Vec<T, const N: usize> = VecInner<[MaybeUninit<T>; N]>;
8080
8181/// A [`Vec`] with dynamic capacity
8282///
83- /// [`Vec`] coerces to `VecView`. `VecView` is `!Sized`, meaning that it can only ever be used through pointer
83+ /// [`Vec`] coerces to `VecView`. `VecView` is `!Sized`, meaning it can only ever be used by reference.
8484///
8585/// Unlike [`Vec`], `VecView` does not have an `N` const-generic parameter.
86- /// This has the ergonomic advantages of making it possible to use functions without needing to know at
86+ /// This has the ergonomic advantage of making it possible to use functions without needing to know at
8787/// compile-time the size of the buffers used, for example for use in `dyn` traits.
8888///
89- /// `VecView<T>` is to `Vec<T, N>` what `[T]` is to `[T; N]`
89+ /// `VecView<T>` is to `Vec<T, N>` what `[T]` is to `[T; N]`.
9090///
9191/// ```rust
9292/// use heapless::{Vec, VecView};
You can’t perform that action at this time.
0 commit comments