diff --git a/Library/Homebrew/rubocops/shared/desc_helper.rb b/Library/Homebrew/rubocops/shared/desc_helper.rb
index 3ed62a036ba4653b95e06ebe6393f30cfbdee48c..80092a8df7577a3468e6c5dd285145fd56f806c7 100644
--- a/Library/Homebrew/rubocops/shared/desc_helper.rb
+++ b/Library/Homebrew/rubocops/shared/desc_helper.rb
@@ -5,6 +5,8 @@ require "rubocops/shared/helper_functions"
 module RuboCop
   module Cop
     # This module performs common checks the `desc` field in both Formulae and Casks.
+    #
+    # @api private
     module DescHelper
       include HelperFunctions
 
diff --git a/Library/Homebrew/rubocops/shared/helper_functions.rb b/Library/Homebrew/rubocops/shared/helper_functions.rb
index a5e893c6ae8a72bc8742ee02170e7777a138a278..8b7388f94ca0bb8db075d13e7398545333bb9ae7 100644
--- a/Library/Homebrew/rubocops/shared/helper_functions.rb
+++ b/Library/Homebrew/rubocops/shared/helper_functions.rb
@@ -2,6 +2,9 @@
 
 module RuboCop
   module Cop
+    # Helper functions for cops.
+    #
+    # @api private
     module HelperFunctions
       include RangeHelp