Skip to content

Commit 776002f

Browse files
authored
Merge pull request scala#6645 from xuwei-k/patch-1
fix Set#-- deprecated message
2 parents 4562cc5 + 2ffbb17 commit 776002f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/collection/Set.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ trait SetOps[A, +CC[_], +C <: SetOps[A, CC, C]]
152152
/** Alias for `diff` */
153153
@`inline` final def &~ (that: Set[A]): C = this diff that
154154

155-
@deprecated("Use &- or diff instead of --", "2.13.0")
155+
@deprecated("Use &~ or diff instead of --", "2.13.0")
156156
@`inline` final def -- (that: Set[A]): C = diff(that)
157157

158158
/** Creates a new $coll by adding all elements contained in another collection to this $coll, omitting duplicates.

0 commit comments

Comments
 (0)