Use the right reST syntax for these
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 87383db..25e3e5d 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -226,13 +226,13 @@
 
     .. method:: public_key()
 
-        :type:
+        The public key associated with the certificate.
+
+        :returns:
             :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` or
             :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` or
             :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey`
 
-        The public key associated with the certificate.
-
         .. doctest::
 
             >>> from cryptography.hazmat.primitives.asymmetric import rsa
@@ -531,13 +531,13 @@
 
     .. method:: public_key()
 
-        :type:
+        The public key associated with the request.
+
+        :returns:
             :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey` or
             :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` or
             :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey`
 
-        The public key associated with the request.
-
         .. doctest::
 
             >>> from cryptography.hazmat.primitives.asymmetric import rsa