Fix syntax error in docs
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst
index 798fbab..84911cb 100644
--- a/docs/hazmat/primitives/asymmetric/ec.rst
+++ b/docs/hazmat/primitives/asymmetric/ec.rst
@@ -6,7 +6,7 @@
 .. currentmodule:: cryptography.hazmat.primitives.asymmetric.ec
 
 
-,, method:: generate_private_key(curve, backend):
+.. method:: generate_private_key(curve, backend):
 
     .. versionadded:: 0.5