Skip to content

Commit

Permalink
Delete the implicit conversion (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry authored Jan 27, 2023
1 parent 23f618b commit 16e81e1
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ package com.thoughtworks.binding.bindable
import com.thoughtworks.binding._
import com.thoughtworks.binding.Binding._
import scala.collection.immutable.ArraySeq
import scala.language.implicitConversions

given [From, Value](using
bindable: Bindable.Lt[From, Value]
): Conversion[From, Value] with
def apply(from: From) = bindable.toBinding(from)
end given

extension [From](from: From)(using bindable: Bindable[From])
def toBinding: Binding[bindable.Value] = bindable.toBinding(from)
Expand Down

0 comments on commit 16e81e1

Please sign in to comment.