From e3709f55ea9167b948db2e9a65a1ac33263f5717 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Sun, 11 Feb 2024 12:47:57 +0100 Subject: [PATCH] compatibility hack until mdoc#842 is released --- .../scala/meta/internal/prettyprinters/Enquote.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scalafix-docs/src/main/scala/scala/meta/internal/prettyprinters/Enquote.scala diff --git a/scalafix-docs/src/main/scala/scala/meta/internal/prettyprinters/Enquote.scala b/scalafix-docs/src/main/scala/scala/meta/internal/prettyprinters/Enquote.scala new file mode 100644 index 000000000..0c64c2247 --- /dev/null +++ b/scalafix-docs/src/main/scala/scala/meta/internal/prettyprinters/Enquote.scala @@ -0,0 +1,8 @@ +package scala.meta.internal.prettyprinters + +// compatibility hack until https://github.com/scalameta/mdoc/pull/842 is released +object enquote { + def apply(s: String, style: QuoteStyle): String = { + style(s) + } +}