public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] Fix 2 typos in documentation of libstdc++.
@ 2020-01-31 17:53 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-01-31 17:53 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:06d481d044ca7126f9d298ad9a4074fafde47ee8

commit 06d481d044ca7126f9d298ad9a4074fafde47ee8
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Jan 28 10:25:30 2020 +0100

    Fix 2 typos in documentation of libstdc++.
    
    	PR libstdc++/93478
    	* include/std/atomic: Fix typo.
    	* include/std/optional: Likewise.

Diff:
---
 libstdc++-v3/ChangeLog            | 6 ++++++
 libstdc++-v3/include/std/atomic   | 2 +-
 libstdc++-v3/include/std/optional | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e49950c..03061e6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2020-01-28  Martin Liska  <mliska@suse.cz>
+
+	PR libstdc++/93478
+	* include/std/atomic: Fix typo.
+	* include/std/optional: Likewise.
+
 2020-01-27  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* configure: Regenerate.
diff --git a/libstdc++-v3/include/std/atomic b/libstdc++-v3/include/std/atomic
index 66c6238..40f23bd 100644
--- a/libstdc++-v3/include/std/atomic
+++ b/libstdc++-v3/include/std/atomic
@@ -174,7 +174,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   /**
    *  @brief Generic atomic type, primary class template.
    *
-   *  @tparam _Tp  Type to be made atomic, must be trivally copyable.
+   *  @tparam _Tp  Type to be made atomic, must be trivially copyable.
    */
   template<typename _Tp>
     struct atomic
diff --git a/libstdc++-v3/include/std/optional b/libstdc++-v3/include/std/optional
index 09e7a7e..b920a14 100644
--- a/libstdc++-v3/include/std/optional
+++ b/libstdc++-v3/include/std/optional
@@ -453,7 +453,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     * Such a separate base class template is necessary in order to
     * conditionally make copy/move constructors trivial.
     *
-    * When the contained value is trivally copy/move constructible,
+    * When the contained value is trivially copy/move constructible,
     * the copy/move constructors of _Optional_base will invoke the
     * trivial copy/move constructor of _Optional_payload. Otherwise,
     * they will invoke _Optional_payload(bool, const _Optional_payload&)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-31 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31 17:53 [gcc/devel/c++-modules] Fix 2 typos in documentation of libstdc++ Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).