Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Sep 11, 2024
1 parent 180ac3e commit 247e585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shell/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async fn interactive(state: Option<ShellState>) -> anyhow::Result<()> {
let helper = helper::ShellPromptHelper::default();
rl.set_helper(Some(helper));

let mut state = state.unwrap_or_else(|| init_state());
let mut state = state.unwrap_or_else(init_state);

let home = dirs::home_dir().context("Couldn't get home directory")?;

Expand Down

0 comments on commit 247e585

Please sign in to comment.