Drop obsolete annotations syntax
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ class BinaryTree<T> : IMutableSet<T> {
|
||||
constructor() : this(naturalOrder<T>()) {
|
||||
}
|
||||
|
||||
private [operator] fun T.compareTo(other : T) : Int = compare(this, other)
|
||||
private @[operator] fun T.compareTo(other : T) : Int = compare(this, other)
|
||||
|
||||
override fun contains(item : T) : Boolean {
|
||||
return contains(root, item)
|
||||
|
||||
Reference in New Issue
Block a user