[DOC] remove redundant paragraph at set.rb (#6472)

remove redundant paragraph at set.rb
This commit is contained in:
TJ 2023-02-15 11:46:16 +08:00 committed by GitHub
parent 619af4fd64
commit fba8f7783b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-02-15 03:46:36 +00:00
Merged-By: hsbt <hsbt@ruby-lang.org>

View File

@ -12,16 +12,12 @@
##
# This library provides the Set class, which deals with a collection
# of unordered values with no duplicates. It is a hybrid of Array's
# This library provides the Set class, which implements a collection
# of unordered values with no duplicates. It is a hybrid of Array's
# intuitive inter-operation facilities and Hash's fast lookup.
#
# The method `to_set` is added to Enumerable for convenience.
#
# Set implements a collection of unordered values with no duplicates.
# This is a hybrid of Array's intuitive inter-operation facilities and
# Hash's fast lookup.
#
# Set is easy to use with Enumerable objects (implementing `each`).
# Most of the initializer methods and binary operators accept generic
# Enumerable objects besides sets and arrays. An Enumerable object