mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
Do not export more than strictly necessary
This commit is contained in:
@@ -903,7 +903,7 @@ impl<'a> Contact<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_first_name<'a>(full_name: &'a str) -> &'a str {
|
||||
fn get_first_name<'a>(full_name: &'a str) -> &'a str {
|
||||
full_name.splitn(2, ' ').next().unwrap_or_default()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user