style(calendar): cargo fmt

This commit is contained in:
iamdoubz committed 2026-07-07 17:57:10 -05:00
1 parent 3d90265e8f
commit aa5ae127b3
1 file changed
+9 -2
+9 -2
View File
@@ -192,7 +192,11 @@ impl GraphSource {
.json()
.await
.map_err(|e| CalError::Parse(e.to_string()))?;
Ok(body.value.into_iter().map(graph_event_to_imported).collect())
Ok(body
.value
.into_iter()
.map(graph_event_to_imported)
.collect())
}
}
@@ -267,7 +271,10 @@ fn graph_event_to_imported(e: GraphEvent) -> ImportedEvent {
.unwrap_or_default()
.into_iter()
.filter_map(|a| {
let name = a.email_address.name.or_else(|| a.email_address.address.clone())?;
let name = a
.email_address
.name
.or_else(|| a.email_address.address.clone())?;
Some(AttendeeInfo {
name,
email: a.email_address.address,