[NFC] Fixed Typos
Reviewed By: xgupta
Differential Revision: https://reviews.llvm.org/D100705
GitOrigin-RevId: 21bef4e11e48d5d4bff7a23babbd420e86dd420a
diff --git a/docs/UsingLibcxx.rst b/docs/UsingLibcxx.rst
index 0e6d92b..f7de6f6 100644
--- a/docs/UsingLibcxx.rst
+++ b/docs/UsingLibcxx.rst
@@ -114,10 +114,10 @@
GCC does not provide a way to switch from libstdc++ to libc++. You must manually
configure the compile and link commands.
-In particular you must tell GCC to remove the libstdc++ include directories
+In particular, you must tell GCC to remove the libstdc++ include directories
using ``-nostdinc++`` and to not link libstdc++.so using ``-nodefaultlibs``.
-Note that ``-nodefaultlibs`` removes all of the standard system libraries and
+Note that ``-nodefaultlibs`` removes all the standard system libraries and
not just libstdc++ so they must be manually linked. For example:
.. code-block:: bash
@@ -151,7 +151,7 @@
**_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS**:
This macro is used to enable -Wthread-safety annotations on libc++'s
- ``std::mutex`` and ``std::lock_guard``. By default these annotations are
+ ``std::mutex`` and ``std::lock_guard``. By default, these annotations are
disabled and must be manually enabled by the user.
**_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS**: