On Friday, 1 April 2016 at 08:52:40 UTC, Q. Schroll wrote:
The methods add and remove return bool values that indicate the state being changed:
• add    returns true iff key has not been already present.
• remove returns true iff key has     been already present.

Should have been

The methods add and remove return bool values that indicate the state being changed:
 • add    returns true iff element has not been already present.
 • remove returns true iff element has     been already present.

as we shouldn't call the elements of a set its "keys".

Reply via email to