updated dependencies

This commit is contained in:
veeso
2022-06-09 15:11:55 +02:00
parent 80dea3f71a
commit bb95c9a4d0
6 changed files with 348 additions and 369 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ impl ConfigClient {
/// Returns: (host, username)
fn get_ssh_tokens(host_key: &str) -> (String, String) {
let tokens: Vec<&str> = host_key.split('@').collect();
assert_eq!(tokens.len(), 2);
assert!(tokens.len() >= 2);
(String::from(tokens[1]), String::from(tokens[0]))
}