replace Vec with &[String]

This commit is contained in:
yggverse 2024-12-07 00:16:39 +02:00
parent fd5a7196b1
commit 4e354b3e26

View File

@ -2,7 +2,7 @@ use gtk::{gio::TlsCertificate, prelude::TlsCertificateExt};
pub fn new_for_profile_identity_gemini_id( pub fn new_for_profile_identity_gemini_id(
certificate: &TlsCertificate, certificate: &TlsCertificate,
scope: &Vec<String>, scope: &[String],
) -> String { ) -> String {
let mut tooltip = "<b>Certificate</b>\n".to_string(); let mut tooltip = "<b>Certificate</b>\n".to_string();