simplify format

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2022-10-11 15:47:09 +02:00 committed by GitHub
parent 5ccd3c884d
commit 46920d3c08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ pub fn generate_docs_html(filenames: Vec<PathBuf>) {
}
fn sidebar_link_url(module: &ModuleDocumentation) -> String {
let url = format!("{baseUrl}{moduleName}/", baseUrl = base_url(), moduleName = module.name.as_str());
let url = format!("{}{}/", base_url(), module.name.as_str());
url
}