Allow keyword 'static as a lifetime
diff --git a/src/generics.rs b/src/generics.rs
index 0a1dbec..47ff003 100644
--- a/src/generics.rs
+++ b/src/generics.rs
@@ -180,9 +180,15 @@
 
     named!(pub lifetime -> Lifetime, preceded!(
         punct!("'"),
-        map!(ident, |id| Lifetime {
-            ident: format!("'{}", id).into(),
-        })
+        alt!(
+            map!(ident, |id| Lifetime {
+                ident: format!("'{}", id).into(),
+            })
+            |
+            map!(keyword!("static"), |_| Lifetime {
+                ident: "'static".into(),
+            })
+        )
     ));
 
     named!(pub lifetime_def -> LifetimeDef, do_parse!(