Skip to content

Commit

Permalink
Updates for Scala 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 22, 2025
1 parent c0bdd6a commit 8be3ad7
Show file tree
Hide file tree
Showing 4 changed files with 312 additions and 312 deletions.
2 changes: 1 addition & 1 deletion src/core/cataclysm-core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ given Realm = realm"cataclysm"

private[cataclysm] type Label = String & Singleton

given Decimalizer as decimalizer = Decimalizer(6)
given Decimalizer = Decimalizer(6)

def select[SelectorType: Selectable](sel: SelectorType)(css: CssStyle) =
CssRule(SelectorType.selector(sel), css)
Expand Down
2 changes: 1 addition & 1 deletion src/core/cataclysm.CssStylesheet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import hieroglyph.*
import language.dynamics

object CssStylesheet:
given (using charEncoder: CharEncoder) => CssStylesheet is GenericHttpResponseStream:
given (charEncoder: CharEncoder) => CssStylesheet is GenericHttpResponseStream:
def mediaType: Text = t"text/css; charset=${charEncoder.encoding.name}"
def content(stylesheet: CssStylesheet): LazyList[IArray[Byte]] = LazyList(stylesheet.text.bytes)

Expand Down
Loading

0 comments on commit 8be3ad7

Please sign in to comment.