issues
search
tsukinaha
/
tsukimi
A simple third-party Emby client
GNU General Public License v3.0
878
stars
24
forks
source link
style: refactor code to pass cargo clippy
#29
Closed
amtoaer
closed
5 months ago
amtoaer
commented
5 months ago
给第三方库标记上 allow,省得提示 warning
使用 cargo clippy --fix 自动修改大部分格式
手动调整了两个无法自动修改的问题:
ReqClient::new 返回的不是 Self => 更名为 build
while let Ok(_) = xxx 推荐改成 while xxx.is_ok() => 照着提示改了