Eric Huss hace 1 año
padre
commit
e3adea0a7d
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. 6 2
      github-graphql/src/lib.rs

+ 6 - 2
github-graphql/src/lib.rs

@@ -326,12 +326,16 @@ pub mod project_items {
 
     impl ProjectV2Item {
         pub fn status(&self) -> Option<&str> {
-            let Some(ref status) = self.status else { return None };
+            let Some(ref status) = self.status else {
+                return None;
+            };
             status.as_str()
         }
 
         pub fn date(&self) -> Option<Date> {
-            let Some(ref date) = self.date else { return None };
+            let Some(ref date) = self.date else {
+                return None;
+            };
             date.as_date()
         }
     }