git.iko.soy/typeable/servant
on master help sign in
Fix markdown code indent, drop unused var
commita2f8c2c9b40f029cf3e2abd40d300e94cc2a1f77 authorRobert Soeldner <r.soeldner@gmail.com> dateSat 29 Sep 2018, 17:49 (8 years ago) parentc85f99f
1 file changed+2−3
servant-docs/src/Servant/Docs/Internal.hs+2−3
servant-docs/src/Servant/Docs/Internal.hs+2−3
@@ -760,9 +760,9 @@ markdownWith RenderingOptions{..} api = unlines $
760760
761761 contentStr mime_type body =
762762 "" :
763− " ```" <> markdownForType mime_type :
763+ "```" <> markdownForType mime_type :
764764 cs body :
765− " ```" :
765+ "```" :
766766 "" :
767767 []
768768
@@ -866,7 +866,6 @@ instance {-# OVERLAPPABLE #-}
866866 t = Proxy :: Proxy '[ct]
867867 method' = reflectMethod (Proxy :: Proxy method)
868868 status = fromInteger $ natVal (Proxy :: Proxy status)
869− p = Proxy :: Proxy a
870869
871870instance {-# OVERLAPPING #-}
872871 (ToSample a, AllMimeRender (ct ': cts) a, KnownNat status