Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: fixes ssh_key displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Jun 4, 2015
1 parent a5f26ce commit f09869e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/response/ssh_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ impl NamedResponse for SshKey {

impl fmt::Display for SshKey {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "SSH Key:\n\
ID: {:.0}\n\
Fingerprint: {}\n\
Public Key:{}\n\
Name:{}\n",
write!(f, "ID: {:.0}\n\
Fingerprint: {}\n\
Public Key: {}\n\
Name: {}",
self.id,
self.fingerprint,
self.public_key,
Expand Down

0 comments on commit f09869e

Please sign in to comment.