diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-16 10:59:20 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-16 10:59:20 +0100 |
| commit | ac53bca7e315848864ff9e51703720b5b466bc42 (patch) | |
| tree | 775e425f0af2543eb12e4a4b1d4feb022611368f /src/lib/login/mod.rs | |
| parent | 092b9606ff2b721d858a5c7b2b27a2f9942b4bc4 (diff) | |
chore: bump nightly rustfmt
to latest available and apply fmt fixes
Diffstat (limited to 'src/lib/login/mod.rs')
| -rw-r--r-- | src/lib/login/mod.rs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/login/mod.rs b/src/lib/login/mod.rs index bfc7328..3fcd755 100644 --- a/src/lib/login/mod.rs +++ b/src/lib/login/mod.rs | |||
| @@ -79,11 +79,15 @@ fn print_logged_in_as( | |||
| 79 | "failed to find your relay list. consider using another nostr client to create one to enhance your nostr experience." | 79 | "failed to find your relay list. consider using another nostr client to create one to enhance your nostr experience." |
| 80 | ); | 80 | ); |
| 81 | } | 81 | } |
| 82 | eprintln!("logged in as {}{}", user_ref.metadata.name, match source { | 82 | eprintln!( |
| 83 | SignerInfoSource::CommandLineArguments => " via cli arguments", | 83 | "logged in as {}{}", |
| 84 | SignerInfoSource::GitLocal => " to local repository", | 84 | user_ref.metadata.name, |
| 85 | SignerInfoSource::GitGlobal => "", | 85 | match source { |
| 86 | }); | 86 | SignerInfoSource::CommandLineArguments => " via cli arguments", |
| 87 | SignerInfoSource::GitLocal => " to local repository", | ||
| 88 | SignerInfoSource::GitGlobal => "", | ||
| 89 | } | ||
| 90 | ); | ||
| 87 | Ok(()) | 91 | Ok(()) |
| 88 | } | 92 | } |
| 89 | 93 | ||