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 @@ -61,14 +61,14 @@ impl<T: ?Sized> *const T {
6161
6262 /// Use the pointer value in a new pointer of another type.
6363 ///
64- /// In case `val ` is a (fat) pointer to an unsized type, this operation
64+ /// In case `meta ` is a (fat) pointer to an unsized type, this operation
6565 /// will ignore the pointer part, whereas for (thin) pointers to sized
6666 /// types, this has the same effect as a simple cast.
6767 ///
6868 /// The resulting pointer will have provenance of `self`, i.e., for a fat
6969 /// pointer, this operation is semantically the same as creating a new
7070 /// fat pointer with the data pointer value of `self` but the metadata of
71- /// `val `.
71+ /// `meta `.
7272 ///
7373 /// # Examples
7474 ///
Original file line number Diff line number Diff line change @@ -60,14 +60,14 @@ impl<T: ?Sized> *mut T {
6060
6161 /// Use the pointer value in a new pointer of another type.
6262 ///
63- /// In case `val ` is a (fat) pointer to an unsized type, this operation
63+ /// In case `meta ` is a (fat) pointer to an unsized type, this operation
6464 /// will ignore the pointer part, whereas for (thin) pointers to sized
6565 /// types, this has the same effect as a simple cast.
6666 ///
6767 /// The resulting pointer will have provenance of `self`, i.e., for a fat
6868 /// pointer, this operation is semantically the same as creating a new
6969 /// fat pointer with the data pointer value of `self` but the metadata of
70- /// `val `.
70+ /// `meta `.
7171 ///
7272 /// # Examples
7373 ///
You can’t perform that action at this time.
0 commit comments