@@ -161,37 +161,37 @@ pub(super) fn hints(
161161 PointerCast :: ReifyFnPointer => (
162162 "<fn-item-to-fn-pointer>" ,
163163 "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." ,
165165 ) ,
166166 PointerCast :: UnsafeFnPointer => (
167167 "<safe-fn-pointer-to-unsafe-fn-pointer>" ,
168168 "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." ,
170170 ) ,
171171 PointerCast :: ClosureFnPointer ( Safety :: Unsafe ) => (
172172 "<closure-to-unsafe-fn-pointer>" ,
173173 "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." ,
175175 ) ,
176176 PointerCast :: ClosureFnPointer ( Safety :: Safe ) => (
177177 "<closure-to-fn-pointer>" ,
178178 "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." ,
180180 ) ,
181181 PointerCast :: MutToConstPointer => (
182182 "<mut-ptr-to-const-ptr>" ,
183183 "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." ,
185185 ) ,
186186 PointerCast :: ArrayToPointer => (
187187 "<array-ptr-to-element-ptr>" ,
188188 "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." ,
190190 ) ,
191191 PointerCast :: Unsize => (
192192 "<unsize>" ,
193193 "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." ,
195195 ) ,
196196 }
197197 }
0 commit comments