Fix compilation error and deprecations

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-07-12 23:47:22 +10:00
parent 03c520e7ce
commit 2bd9c1efee
No known key found for this signature in database
GPG key ID: 76D1E687CA3C4928
3 changed files with 18 additions and 18 deletions

View file

@ -127,7 +127,7 @@ pub(super) fn render_dl_template(
struct Context<'a> {
crate_name: &'a str,
crate_prefix: CompactString,
crate_lowerprefix: String,
crate_lowerprefix: CompactString,
version: &'a str,
cksum: &'a str,
}