From a4714cf69333b5f2cdc32eee2f37f63e2baa2efc Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Thu, 21 Nov 2024 14:48:01 -0700 Subject: [PATCH] cargo fmt --- src/branding.rs | 6 +----- src/portable/windows.rs | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/branding.rs b/src/branding.rs index 497d14377..6a70cd25e 100644 --- a/src/branding.rs +++ b/src/branding.rs @@ -49,8 +49,4 @@ pub const BRANDING_USERNAME: &str = "edgedb"; /// The OS pathname for data files. // TODO: Should this be "gel" as well? -pub const BRANDING_PATH: &str = if cfg!(windows) { - "EdgeDB" -} else { - "edgedb" -}; +pub const BRANDING_PATH: &str = if cfg!(windows) { "EdgeDB" } else { "edgedb" }; diff --git a/src/portable/windows.rs b/src/portable/windows.rs index 6bc0961bb..04303bcf6 100644 --- a/src/portable/windows.rs +++ b/src/portable/windows.rs @@ -15,7 +15,7 @@ use once_cell::sync::{Lazy, OnceCell}; use url::Url; use crate::async_util; -use crate::branding::{BRANDING, BRANDING_CLI, BRANDING_WSL, BRANDING_PATH}; +use crate::branding::{BRANDING, BRANDING_CLI, BRANDING_PATH, BRANDING_WSL}; use crate::bug; use crate::cli::env::Env; use crate::cli::upgrade::{self, self_version};