style: 清空 clippy 提示

This commit is contained in:
amtoaer
2025-01-11 23:36:59 +08:00
parent 0113bf704d
commit 368b9ef735
4 changed files with 14 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ pub struct NFOSerializer<'a>(pub ModelWrapper<'a>, pub NFOMode);
/// serde xml 似乎不太好用,先这么裸着写
/// (真是又臭又长啊
impl<'a> NFOSerializer<'a> {
impl NFOSerializer<'_> {
pub async fn generate_nfo(self, nfo_time_type: &NFOTimeType) -> Result<String> {
let mut buffer = r#"<?xml version="1.0" encoding="utf-8" standalone="yes"?>
"#