File tree 2 files changed +4
-4
lines changed
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/).
16
16
- Added ` Vec::spare_capacity_mut ` .
17
17
- Added ` Extend ` impls for ` Deque ` .
18
18
- Added ` Deque::make_contiguous ` .
19
- - Added ` VecView ` , the ` !Sized ` version of ` Vec `
19
+ - Added ` VecView ` , the ` !Sized ` version of ` Vec ` .
20
20
21
21
### Changed
22
22
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]>;
80
80
81
81
/// A [`Vec`] with dynamic capacity
82
82
///
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.
84
84
///
85
85
/// 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
87
87
/// compile-time the size of the buffers used, for example for use in `dyn` traits.
88
88
///
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]`.
90
90
///
91
91
/// ```rust
92
92
/// use heapless::{Vec, VecView};
You can’t perform that action at this time.
0 commit comments