@@ -9,14 +9,12 @@ where
99
1010import BasicTypes
1111import Control.Monad
12−import FastString (unpackFS)
1312import GHC
1413import Ormolu.Printer.Combinators
1514import Ormolu.Printer.Meat.Common
1615import Ormolu.Printer.Meat.Declaration.Signature
1716import Ormolu.Printer.Meat.Declaration.Value
1817import Ormolu.Utils
19−import qualified Data.Text as T
2018
2119p_ruleDecls :: RuleDecls GhcPs -> R ()
2220p_ruleDecls = \case
@@ -43,10 +41,7 @@ p_ruleDecl = \case
4341 XRuleDecl NoExt -> notImplemented "XRuleDecl"
4442
4543p_ruleName :: (SourceText, RuleName) -> R ()
46−p_ruleName (_, name) = do
47− txt "\""
48− txt $ T.pack $ unpackFS $ name
49− txt "\""
44+p_ruleName (_, name) = atom $ HsString NoSourceText name
5045
5146p_ruleBndrs :: [LRuleBndr GhcPs] -> R ()
5247p_ruleBndrs [] = return ()