Skip to content

Commit

Permalink
Rename generic/specific types
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Feb 2, 2025
1 parent 3680533 commit ed5ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/url/nettlesome.Url.scala
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object Url:
def elementText(element: Name[HttpUrl]): Text = element.text
def caseSensitivity: Case = Case.Sensitive

given HttpUrl is Generalizable across Urls into Text = _.show
given HttpUrl is Abstractable across Urls into Text = _.show
given (Tactic[UrlError], Tactic[HostnameError]) => HttpUrl is SpecificUrl = Url.parse(_)

given showable: [SchemeType <: Label] => Url[SchemeType] is Showable = url =>
Expand Down

0 comments on commit ed5ac7c

Please sign in to comment.