Do not export more than strictly necessary

This commit is contained in:
Dmitry Bogatov
2019-08-16 01:58:57 +00:00
parent f31884fc15
commit ea661896a1
19 changed files with 164 additions and 164 deletions

View File

@@ -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()
}