Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

Probe: clippy

Yashwanth Kamireddi698a0933320b
diff --git a/probe/examples/contacts_list_roundtrip.rs b/probe/examples/contacts_list_roundtrip.rs
index 374c241..bcac23c 100644
--- a/probe/examples/contacts_list_roundtrip.rs
+++ b/probe/examples/contacts_list_roundtrip.rs
@@ -30,7 +30,7 @@ async fn main() -> Result<()> {
p.clone(),
&tokens,
"Quince list test",
- &[a.clone()],
+ std::slice::from_ref(&a),
)
.await?;
let book = c::fetch(&http, &root, p.clone()).await?;