mirror of
https://github.com/denisidoro/navi
synced 2024-11-13 23:37:10 +00:00
Remove unneeded mut
This commit is contained in:
parent
1c7c2932dd
commit
f214a561b8
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ use crate::structures::option::{Config, RepoCommand};
|
|||
use anyhow::Context;
|
||||
use anyhow::Error;
|
||||
|
||||
pub fn handle_config(mut config: Config) -> Result<(), Error> {
|
||||
match config.cmd.as_mut() {
|
||||
pub fn handle_config(config: Config) -> Result<(), Error> {
|
||||
match config.cmd.as_ref() {
|
||||
None => flows::core::main(Variant::Core, config, true),
|
||||
|
||||
Some(c) => match c {
|
||||
|
|
Loading…
Reference in a new issue