[fractal/fractal-next] Fix style
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/fractal-next] Fix style
- Date: Thu, 24 Mar 2022 13:13:53 +0000 (UTC)
commit 13038bc3fae300286fe0d325a828ccafd5561e48
Author: alyaeanyx <alexandra hollmeier mailbox org>
Date: Wed Mar 23 19:05:05 2022 +0100
Fix style
src/user_facing_error.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/user_facing_error.rs b/src/user_facing_error.rs
index 8f88dc810..7ae221476 100644
--- a/src/user_facing_error.rs
+++ b/src/user_facing_error.rs
@@ -69,7 +69,9 @@ impl UserFacingError for ClientBuildError {
fn to_user_facing(self) -> String {
match self {
ClientBuildError::Url(_) => gettext("This is not a valid URL"),
- ClientBuildError::AutoDiscovery(_) => gettext("This does not appear to be a Matrix homeserver."),
+ ClientBuildError::AutoDiscovery(_) => {
+ gettext("This does not appear to be a Matrix homeserver.")
+ }
ClientBuildError::Http(err) => err.to_user_facing(),
ClientBuildError::SledStore(err) => err.to_user_facing(),
_ => gettext("An unknown error occurred."),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]