Skip to content

Commit

Permalink
clippy, fmt!
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Jul 17, 2024
1 parent 47e615a commit 8ca0fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fullstack/src/launch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ async fn launch_server(
build_virtual_dom: impl Fn() -> VirtualDom + Send + Sync + 'static,
context_providers: ContextProviders,
) {
use clap::Parser;
use crate::prelude::RenderHandleState;
use clap::Parser;

// Get the address the server should run on. If the CLI is running, the CLI proxies fullstack into the main address
// and we use the generated address the CLI gives us
Expand All @@ -129,7 +129,7 @@ async fn launch_server(
// Point the user to the CLI address if the CLI is running or the fullstack address if not
let serve_address = cli_args
.map(|args| args.cli_address())
.unwrap_or_else(|| address.clone());
.unwrap_or_else(|| address);

#[cfg(feature = "axum")]
{
Expand Down

0 comments on commit 8ca0fa5

Please sign in to comment.