Remove unneeded keyword "mut"
This commit is contained in:
parent
73c844ceb1
commit
713151af79
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ use toml::Value;
|
||||||
use libimagstore::store::EntryHeader;
|
use libimagstore::store::EntryHeader;
|
||||||
use libimagutil::key_value_split::IntoKeyValue;
|
use libimagutil::key_value_split::IntoKeyValue;
|
||||||
|
|
||||||
pub fn build_toml_header(matches: &ArgMatches, mut header: EntryHeader) -> EntryHeader {
|
pub fn build_toml_header(matches: &ArgMatches, header: EntryHeader) -> EntryHeader {
|
||||||
debug!("Building header from cli spec");
|
debug!("Building header from cli spec");
|
||||||
if let Some(headerspecs) = matches.values_of("header") {
|
if let Some(headerspecs) = matches.values_of("header") {
|
||||||
let mut main = header.into();
|
let mut main = header.into();
|
||||||
|
|
Loading…
Reference in a new issue