[ReviewFix] cargo fmt

This commit is contained in:
Jonas Berlin 2020-02-17 23:09:59 +02:00 committed by Flavio Castelli
parent 2b738d4425
commit dcc642e66d
No known key found for this signature in database
GPG Key ID: F1020D69DC004F48
1 changed files with 8 additions and 2 deletions

View File

@ -685,10 +685,16 @@ fn make_data(
Some(ref git_repository_edit_baseurl) => git_repository_edit_baseurl,
None => &default_edit_baseurl,
};
data.insert("git_repository_edit_baseurl".to_owned(), json!(git_repository_edit_baseurl));
data.insert(
"git_repository_edit_baseurl".to_owned(),
json!(git_repository_edit_baseurl),
);
} else {
if let Some(ref git_repository_edit_baseurl) = html_config.git_repository_edit_baseurl {
data.insert("git_repository_edit_baseurl".to_owned(), json!(git_repository_edit_baseurl));
data.insert(
"git_repository_edit_baseurl".to_owned(),
json!(git_repository_edit_baseurl),
);
}
}