replace clone with dereference

This commit is contained in:
yggverse 2024-11-29 16:13:13 +02:00
parent 9f23e9e51d
commit af3d8c620b

View File

@ -80,7 +80,7 @@ impl Drop {
let gobject = gobject.clone(); let gobject = gobject.clone();
let list = list.clone(); let list = list.clone();
let profile = profile.clone(); let profile = profile.clone();
let profile_identity_gemini_id = profile_identity_gemini_id.clone(); let profile_identity_gemini_id = *profile_identity_gemini_id;
move |_, _| { move |_, _| {
match profile.identity.gemini.delete(profile_identity_gemini_id) { match profile.identity.gemini.delete(profile_identity_gemini_id) {
Ok(_) => { Ok(_) => {