@@ -161,37 +161,37 @@ pub(super) fn hints(
161
161
PointerCast :: ReifyFnPointer => (
162
162
"<fn-item-to-fn-pointer>" ,
163
163
"fn item to fn pointer" ,
164
- "Converts a named function to a function pointer `fn()`. Useful when passing functions as values."
164
+ "Converts a named function to a function pointer `fn()`. Useful when passing functions as values." ,
165
165
) ,
166
166
PointerCast :: UnsafeFnPointer => (
167
167
"<safe-fn-pointer-to-unsafe-fn-pointer>" ,
168
168
"safe fn pointer to unsafe fn pointer" ,
169
- "Coerces a safe function pointer to an unsafe one. Allows calling it in an unsafe context."
169
+ "Coerces a safe function pointer to an unsafe one. Allows calling it in an unsafe context." ,
170
170
) ,
171
171
PointerCast :: ClosureFnPointer ( Safety :: Unsafe ) => (
172
172
"<closure-to-unsafe-fn-pointer>" ,
173
173
"closure to unsafe fn pointer" ,
174
- "Converts a non-capturing closure to an unsafe function pointer. Required for use in `extern` or unsafe APIs."
174
+ "Converts a non-capturing closure to an unsafe function pointer. Required for use in `extern` or unsafe APIs." ,
175
175
) ,
176
176
PointerCast :: ClosureFnPointer ( Safety :: Safe ) => (
177
177
"<closure-to-fn-pointer>" ,
178
178
"closure to fn pointer" ,
179
- "Converts a non-capturing closure to a function pointer. Lets closures behave like plain functions."
179
+ "Converts a non-capturing closure to a function pointer. Lets closures behave like plain functions." ,
180
180
) ,
181
181
PointerCast :: MutToConstPointer => (
182
182
"<mut-ptr-to-const-ptr>" ,
183
183
"mut ptr to const ptr" ,
184
- "Coerces `*mut T` to `*const T`. Safe because const pointers restrict what you can do."
184
+ "Coerces `*mut T` to `*const T`. Safe because const pointers restrict what you can do." ,
185
185
) ,
186
186
PointerCast :: ArrayToPointer => (
187
187
"<array-ptr-to-element-ptr>" ,
188
188
"array to pointer" ,
189
- "Converts an array to a pointer to its first element. Similar to how arrays decay to pointers in C."
189
+ "Converts an array to a pointer to its first element. Similar to how arrays decay to pointers in C." ,
190
190
) ,
191
191
PointerCast :: Unsize => (
192
192
"<unsize>" ,
193
193
"unsize coercion" ,
194
- "Converts a sized type to an unsized one. Used for things like turning arrays into slices or concrete types into trait objects."
194
+ "Converts a sized type to an unsized one. Used for things like turning arrays into slices or concrete types into trait objects." ,
195
195
) ,
196
196
}
197
197
}
0 commit comments