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 @@ -61,14 +61,14 @@ impl<T: ?Sized> *const T {
61
61
62
62
/// Use the pointer value in a new pointer of another type.
63
63
///
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
65
65
/// will ignore the pointer part, whereas for (thin) pointers to sized
66
66
/// types, this has the same effect as a simple cast.
67
67
///
68
68
/// The resulting pointer will have provenance of `self`, i.e., for a fat
69
69
/// pointer, this operation is semantically the same as creating a new
70
70
/// fat pointer with the data pointer value of `self` but the metadata of
71
- /// `val `.
71
+ /// `meta `.
72
72
///
73
73
/// # Examples
74
74
///
Original file line number Diff line number Diff line change @@ -60,14 +60,14 @@ impl<T: ?Sized> *mut T {
60
60
61
61
/// Use the pointer value in a new pointer of another type.
62
62
///
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
64
64
/// will ignore the pointer part, whereas for (thin) pointers to sized
65
65
/// types, this has the same effect as a simple cast.
66
66
///
67
67
/// The resulting pointer will have provenance of `self`, i.e., for a fat
68
68
/// pointer, this operation is semantically the same as creating a new
69
69
/// fat pointer with the data pointer value of `self` but the metadata of
70
- /// `val `.
70
+ /// `meta `.
71
71
///
72
72
/// # Examples
73
73
///
You can’t perform that action at this time.
0 commit comments