Fix nits.
diff --git a/clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp b/clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
index 0e931c7..9f53a55 100644
--- a/clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
+++ b/clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
@@ -227,7 +227,7 @@
 
 public:
   explicit FunctionASTVisitor(const bool IgnoreMacros)
-      : IgnoreMacros(IgnoreMacros){};
+      : IgnoreMacros(IgnoreMacros) {}
 
   bool traverseStmtWithIncreasedNestingLevel(Stmt *Node) {
     ++CurrentNestingLevel;
diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst b/clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst
index 5337a29..79f6bf4 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst
@@ -28,7 +28,7 @@
 
    If set to `true`, the check will ignore code inside macros. Note, that also
    any macro arguments are ignored, even if they should count to the complexity.
-   As this might change in the future, this option isn't guarantueed to be
+   As this might change in the future, this option isn't guaranteed to be
    forward-compatible. Default is `false`.
 
 Building blocks