libstdc++-v3/ChangeLog:
PR libstdc++/124024
* include/bits/out_ptr.h (out_ptr): Fix doxygen comment to refer
to the right function.
(inout_ptr): Improve markup in doxygen comment.
* @tparam _Pointer The type of pointer to convert to.
* @param __s The pointer that should take ownership of the result.
* @param __args... Arguments to use when resetting the smart pointer.
- * @return A std::inout_ptr_t referring to `__s`.
+ * @return A `std::out_ptr_t` referring to `__s`.
* @since C++23
* @headerfile <memory>
*/
* @tparam _Pointer The type of pointer to convert to.
* @param __s The pointer that should take ownership of the result.
* @param __args... Arguments to use when resetting the smart pointer.
- * @return A std::inout_ptr_t referring to `__s`.
+ * @return A `std::inout_ptr_t` referring to `__s`.
* @since C++23
* @headerfile <memory>
*/