Skip to content

Commit 3f28b30

Browse files
committed
Update stale comment in look_for_directives_in
The :main: and :title: directives have been removed, so update the doc example and remove the deprecation note.
1 parent f40b01d commit 3f28b30

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/rdoc/parser/c.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,11 +1089,10 @@ def load_variable_map(map_name)
10891089
# Look for directives in a normal comment block:
10901090
#
10911091
# /*
1092-
# * :title: My Awesome Project
1092+
# * :nodoc:
10931093
# */
10941094
#
10951095
# This method modifies the +comment+
1096-
# Both :main: and :title: directives are deprecated and will be removed in RDoc 7.
10971096

10981097
def look_for_directives_in(context, comment)
10991098
comment.text, format = @preprocess.run_pre_processes(comment.text, context, comment.line || 1, :c)

0 commit comments

Comments
 (0)