diff --git a/servant/src/Servant/Utils/Links.hs b/servant/src/Servant/Utils/Links.hs index 0d16d379..7cb8df76 100644 --- a/servant/src/Servant/Utils/Links.hs +++ b/servant/src/Servant/Utils/Links.hs @@ -340,8 +340,8 @@ instance (ToText v, HasLink sub) addSegment (escape . unpack $ toText v) l instance HasLink sub => HasLink (Header sym a :> sub) where - type MkLink (Header sym a :> sub) = MkLink sub - toLink _ = toLink (Proxy :: Proxy sub) + type MkLink (Header sym a :> sub) = MkLink sub + toLink _ = toLink (Proxy :: Proxy sub) -- Verb (terminal) instances instance HasLink (Get y r) where