Skip to content

Commit 3b8b900

Browse files
committed
Fix docs warnings
1 parent f0eb606 commit 3b8b900

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/mongo/collection/view/readable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def comment(comment = nil)
122122
# command to run.
123123
# @option opts [ Hash ] :read The read preference options.
124124
# @option opts [ Hash ] :collation The collation to use.
125-
# @options opts [ Mongo::Session ] :session The session to use for the operation.
125+
# @option opts [ Mongo::Session ] :session The session to use for the operation.
126126
#
127127
# @return [ Integer ] The document count.
128128
#

lib/mongo/event.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ module Event
2424
# When a server is elected primary.
2525
#
2626
# @since 2.0.0
27-
#
28-
# @deprecated. Will be removed in 3.0
27+
# @deprecated Will be removed in 3.0
2928
PRIMARY_ELECTED = 'primary_elected'.freeze
3029

3130
# When a server is discovered to be a member of a topology.

0 commit comments

Comments
 (0)