diff options
Diffstat (limited to 'src/auth.rs')
-rw-r--r-- | src/auth.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.rs b/src/auth.rs index b9f4e49..44bf7b8 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -39,7 +39,8 @@ impl AuthCommand { None => crate::readline("new key: ").await?, }; if keys.hosts.get(&user).is_none() { - keys.hosts.insert(host, crate::keys::LoginInfo::new(user, key)); + keys.hosts + .insert(host, crate::keys::LoginInfo::new(user, key)); } else { println!("key for {} already exists", host); } @@ -56,4 +57,3 @@ impl AuthCommand { Ok(()) } } - |