feat: code style

This commit is contained in:
2023-12-23 16:25:26 +08:00
parent d19c9a48f1
commit 0c5dbc7cc3
3 changed files with 7 additions and 10 deletions

View File

@@ -176,10 +176,7 @@ pub fn read_number(hint: &str, from: usize, to: usize) -> usize {
}
pub fn get_user_agent() -> String {
format!("TinyEncrypt-rs v{}@{}-{}",
env!("CARGO_PKG_VERSION"),
get_os(), get_arch(),
)
format!("TinyEncrypt-rs v{}@{}-{}", env!("CARGO_PKG_VERSION"), get_os(), get_arch())
}
pub fn get_os() -> String {