@@ -556,7 +556,7 @@ impl<T> Vec<T> {
556556 /// (`T` having a less strict alignment is not sufficient, the alignment really
557557 /// needs to be equal to satisfy the [`dealloc`] requirement that memory must be
558558 /// allocated and deallocated with the same layout.)
559- /// * The size of `T` times the `capacity` (ie . the allocated size in bytes), if
559+ /// * The size of `T` times the `capacity` (i.e . the allocated size in bytes), if
560560 /// nonzero, needs to be the same size as the pointer was allocated with.
561561 /// (Because similar to alignment, [`dealloc`] must be called with the same
562562 /// layout `size`.)
@@ -658,7 +658,7 @@ impl<T> Vec<T> {
658658 /// (`T` having a less strict alignment is not sufficient, the alignment really
659659 /// needs to be equal to satisfy the [`dealloc`] requirement that memory must be
660660 /// allocated and deallocated with the same layout.)
661- /// * The size of `T` times the `capacity` (ie . the allocated size in bytes) needs
661+ /// * The size of `T` times the `capacity` (i.e . the allocated size in bytes) needs
662662 /// to be the same size as the pointer was allocated with. (Because similar to
663663 /// alignment, [`dealloc`] must be called with the same layout `size`.)
664664 /// * `length` needs to be less than or equal to `capacity`.
@@ -1090,7 +1090,7 @@ impl<T, A: Allocator> Vec<T, A> {
10901090 /// (`T` having a less strict alignment is not sufficient, the alignment really
10911091 /// needs to be equal to satisfy the [`dealloc`] requirement that memory must be
10921092 /// allocated and deallocated with the same layout.)
1093- /// * The size of `T` times the `capacity` (ie . the allocated size in bytes) needs
1093+ /// * The size of `T` times the `capacity` (i.e . the allocated size in bytes) needs
10941094 /// to be the same size as the pointer was allocated with. (Because similar to
10951095 /// alignment, [`dealloc`] must be called with the same layout `size`.)
10961096 /// * `length` needs to be less than or equal to `capacity`.
@@ -1201,7 +1201,7 @@ impl<T, A: Allocator> Vec<T, A> {
12011201 /// (`T` having a less strict alignment is not sufficient, the alignment really
12021202 /// needs to be equal to satisfy the [`dealloc`] requirement that memory must be
12031203 /// allocated and deallocated with the same layout.)
1204- /// * The size of `T` times the `capacity` (ie . the allocated size in bytes) needs
1204+ /// * The size of `T` times the `capacity` (i.e . the allocated size in bytes) needs
12051205 /// to be the same size as the pointer was allocated with. (Because similar to
12061206 /// alignment, [`dealloc`] must be called with the same layout `size`.)
12071207 /// * `length` needs to be less than or equal to `capacity`.
0 commit comments