Skip to content

Commit

Permalink
🐛 (main.rs): Import PathBuf directly to eliminate redundant namespa…
Browse files Browse the repository at this point in the history
…ce call

♻️ (main.rs): Refactor Config struct: remove "server-only" config to simplify configuration handling
  • Loading branch information
windoze committed Jun 23, 2024
1 parent 3d1f695 commit 44f05aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clip-sync-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async fn main() -> anyhow::Result<()> {
#[derive(Debug, Clone, Parser)]
struct Config {
#[arg(long = "config")]
config_path: Option<std::path::PathBuf>,
config_path: Option<PathBuf>,
#[cfg(not(feature = "server-only"))]
#[arg(long, default_value = "false")]
no_tray: bool,
Expand Down

0 comments on commit 44f05aa

Please sign in to comment.