]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix typos in doxygen comments
authorJonathan Wakely <jwakely@redhat.com>
Wed, 26 Apr 2023 22:38:43 +0000 (23:38 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 27 Apr 2023 10:28:40 +0000 (11:28 +0100)
libstdc++-v3/ChangeLog:

* include/bits/mofunc_impl.h: Fix typo in doxygen comment.
* include/std/format: Likewise.

libstdc++-v3/include/bits/mofunc_impl.h
libstdc++-v3/include/std/format

index 47e1e5063069c51518e0162ffe5506d8ad38e91d..318a55e618ff92dbd31268ea5fc5c56c2daf362b 100644 (file)
@@ -51,14 +51,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
    *  @headerfile functional
    *
    *  The `std::move_only_function` class template is a call wrapper similar
-   *  to *  `std::function`, but does not require the stored target function
+   *  to `std::function`, but does not require the stored target function
    *  to be copyable.
    *
    *  It also supports const-qualification, ref-qualification, and
    *  no-throw guarantees. The qualifications and exception-specification
    *  of the `move_only_function::operator()` member function are respected
    *  when invoking the target function.
-   *
    */
   template<typename _Res, typename... _ArgTypes, bool _Noex>
     class move_only_function<_Res(_ArgTypes...) _GLIBCXX_MOF_CV
index e4ef4f9b6d93535ebcdef6e6c3a2f852ee410d49..6edc3208afa52ef914c825afe0ae6cf557fb8b1e 100644 (file)
@@ -185,7 +185,7 @@ namespace __format
   __failed_to_parse_format_spec()
   { __throw_format_error("format error: failed to parse format-spec"); }
 } // namespace __format
-/// @endcond
+  /// @endcond
 
   // [format.parse.ctx], class template basic_format_parse_context
   template<typename _CharT> class basic_format_parse_context;
@@ -3870,7 +3870,7 @@ namespace __format
     };
 #endif
 } // namespace __format
-/// @@endcond
+/// @endcond
 
   template<typename... _Args>
     [[nodiscard]]