From e0ac51cbd9507d353c8e97fd9428476b15dcfe91 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Sun, 1 May 2016 12:29:21 +0200 Subject: [PATCH] Fix typos --- CMakeLists.txt | 2 +- ChangeLog.rst | 4 ++-- doc/usage.rst | 2 +- fmt/posix.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2833aa39..c29dd168 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ endif () if (MASTER_PROJECT AND CMAKE_GENERATOR MATCHES "Visual Studio") # If Microsoft SDK is installed create script run-msbuild.bat that - # calls SetEnv.cmd to to set up build environment and runs msbuild. + # calls SetEnv.cmd to set up build environment and runs msbuild. # It is useful when building Visual Studio projects with the SDK # toolchain rather than Visual Studio. include(FindSetEnv) diff --git a/ChangeLog.rst b/ChangeLog.rst index e3847835..19288d9a 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -435,7 +435,7 @@ Fixes `@MariadeAnton `_ and `@franramirez688 `_. -* Improved support for bulding with `Android NDK +* Improved support for building with `Android NDK `_ (`#107 `_). Thanks to `@newnon `_. @@ -621,7 +621,7 @@ Fixes Apart from a more natural syntax, this also improves performance as there is no need to construct temporary formatter objects and control arguments' - lifetimes. Because the wrapper functions are very ligthweight, this doesn't + lifetimes. Because the wrapper functions are very lightweight, this doesn't cause code bloat even in pre-C++11 mode. * Simplified common case of formatting an ``std::string``. Now it requires a diff --git a/doc/usage.rst b/doc/usage.rst index 2d22f001..27d96ede 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -69,7 +69,7 @@ the previous section. Then compile the ``doc`` target/project, for example:: make doc -This will generate the HTML documenation in ``doc/html``. +This will generate the HTML documentation in ``doc/html``. Android NDK =========== diff --git a/fmt/posix.h b/fmt/posix.h index bfbd3851..303d460d 100644 --- a/fmt/posix.h +++ b/fmt/posix.h @@ -145,7 +145,7 @@ public: // A "move constructor" for moving from a temporary. BufferedFile(Proxy p) FMT_NOEXCEPT : file_(p.file) {} - // A "move constructor" for for moving from an lvalue. + // A "move constructor" for moving from an lvalue. BufferedFile(BufferedFile &f) FMT_NOEXCEPT : file_(f.file_) { f.file_ = 0; } @@ -251,7 +251,7 @@ class File { // A "move constructor" for moving from a temporary. File(Proxy p) FMT_NOEXCEPT : fd_(p.fd) {} - // A "move constructor" for for moving from an lvalue. + // A "move constructor" for moving from an lvalue. File(File &other) FMT_NOEXCEPT : fd_(other.fd_) { other.fd_ = -1; }